Skip to main content
edited tags
Link
Robert Long
  • 65.9k
  • 11
  • 133
  • 248
added 43 characters in body
Source Link

Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?

Documentation says:

fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.

What is coefficient in variance function to be fixed? Is it something like variance=kx, where k is the coefficient and x predictor, or variance itself is to be fixed (then it would be strange to use 'coefficient of variance function', unless variance function would be something like varCov=kI, where I is identity matrix).

What I really want to do is to fit a model, where variance is pre-set, a priori known for each value of outcome and was wondering if I can use varIdent for this purpose.

EDIT: after consulting some literature I understand now that varIdent models variance as var=k*var1, where var1 is variance of reference level of given predictor and option 'fixed' allows to pre-specify the values of the coefficient.

Now I would like to know if I can use varIdent also to model a priori known, exact values of variances associated with observations of continous outcome at different values of continous predictor, that is, use it to incorporate measurment error in the model.

For example, I have measurments Yobs with SDs ysd, what about model:

gls(Y~X, weights=varIdent(ysd), data=data) ?

Can anyone help?

Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?

Documentation says:

fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.

What is coefficient in variance function to be fixed? Is it something like variance=kx, where k is the coefficient and x predictor, or variance itself is to be fixed (then it would be strange to use 'coefficient of variance function', unless variance function would be something like varCov=kI, where I is identity matrix).

What I really want to do is to fit a model, where variance is pre-set, a priori known for each value of outcome and was wondering if I can use varIdent for this purpose.

EDIT: after consulting some literature I understand now that varIdent models variance as var=k*var1, where var1 is variance of reference level of given predictor and option 'fixed' allows to pre-specify the values of the coefficient.

Now I would like to know if I can use varIdent also to model a priori known, exact values of variances associated with observations of continous outcome, that is, use it to incorporate measurment error in the model.

For example, I have measurments Yobs with SDs ysd, what about model:

gls(Y~X, weights=varIdent(ysd), data=data) ?

Can anyone help?

Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?

Documentation says:

fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.

What is coefficient in variance function to be fixed? Is it something like variance=kx, where k is the coefficient and x predictor, or variance itself is to be fixed (then it would be strange to use 'coefficient of variance function', unless variance function would be something like varCov=kI, where I is identity matrix).

What I really want to do is to fit a model, where variance is pre-set, a priori known for each value of outcome and was wondering if I can use varIdent for this purpose.

EDIT: after consulting some literature I understand now that varIdent models variance as var=k*var1, where var1 is variance of reference level of given predictor and option 'fixed' allows to pre-specify the values of the coefficient.

Now I would like to know if I can use varIdent also to model a priori known, exact values of variances associated with observations of continous outcome at different values of continous predictor, that is, use it to incorporate measurment error in the model.

For example, I have measurments Yobs with SDs ysd, what about model:

gls(Y~X, weights=varIdent(ysd), data=data) ?

Can anyone help?

added 9 characters in body
Source Link

Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?

Documentation says:

fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.

What is coefficient in variance function to be fixed? Is it something like variance=kx, where k is the coefficient and x predictor, or variance itself is to be fixed (then it would be strange to use 'coefficient of variance function', unless variance function would be something like varCov=kI, where I is identity matrix).

What I really want to do is to fit a model, where variance is pre-set, a priori known for each value of outcome and was wondering if I can use varIdent for this purpose.

EDIT:EDIT: after consulting some literature I understand now that varIdentvarIdent models variance as var=k*var1, where var1 is variance of reference level of given predictor and option 'fixed' allows to pre-specify the values of the coeficientcoefficient.

Now I would like to know if I can use varIdentvarIdent also to model a priori known, exact values of variances associated with observations of continous outcome, that is, use it to incorporate measurment error in the model.

For example, I have measurments Yobs with SDs ysd, what about model:

gls(Y~X, weights=varIdent(ysd), data=data) ?

Can anyone help?

Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?

Documentation says:

fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.

What is coefficient in variance function to be fixed? Is it something like variance=kx, where k is the coefficient and x predictor, or variance itself is to be fixed (then it would be strange to use 'coefficient of variance function', unless variance function would be something like varCov=kI, where I is identity matrix).

What I really want to do is to fit a model, where variance is pre-set, a priori known for each value of outcome and was wondering if I can use varIdent for this purpose.

EDIT: after consulting some literature I understand now that varIdent models variance as var=k*var1, where var1 is variance of reference level of given predictor and option 'fixed' allows to pre-specify the values of the coeficient.

Now I would like to know if I can use varIdent also to model a priori known, exact values of variances associated with observations of continous outcome, that is, use it to incorporate measurment error in the model.

For example, I have measurments Yobs with SDs ysd, what about model:

gls(Y~X, weights=varIdent(ysd), data=data) ?

Can anyone help?

Can anyone familiar with nlme kindly explain how does the varIdent, with option fixed actually work?

Documentation says:

fixed....an optional numeric vector, or list of numeric values, specifying the values at which some or all of the coefficients in the variance function should be fixed.

What is coefficient in variance function to be fixed? Is it something like variance=kx, where k is the coefficient and x predictor, or variance itself is to be fixed (then it would be strange to use 'coefficient of variance function', unless variance function would be something like varCov=kI, where I is identity matrix).

What I really want to do is to fit a model, where variance is pre-set, a priori known for each value of outcome and was wondering if I can use varIdent for this purpose.

EDIT: after consulting some literature I understand now that varIdent models variance as var=k*var1, where var1 is variance of reference level of given predictor and option 'fixed' allows to pre-specify the values of the coefficient.

Now I would like to know if I can use varIdent also to model a priori known, exact values of variances associated with observations of continous outcome, that is, use it to incorporate measurment error in the model.

For example, I have measurments Yobs with SDs ysd, what about model:

gls(Y~X, weights=varIdent(ysd), data=data) ?

Can anyone help?

added 598 characters in body; edited title
Source Link
Loading
added 10 characters in body
Source Link
User1865345
  • 10.3k
  • 12
  • 23
  • 40
Loading
deleted 2 characters in body
Source Link
Loading
Source Link
Loading