![]() We click Regression on the Statistics menu and complete the dialog box as follows. Fit the regression model by unweighted least squares and analyze the residuals This file contains Age and Diastolic blood pressure (DBP) data collected on 54 subjects. The data for this example are available in the MedCalc sample files folder, file "Weighted regression (Neter).mc1". This process is described below in detail. If you would like to have more control over the process, perhaps because you require some modifications of one or more steps, you can perform each of these steps using Weighted regression and other tools available in MedCalc. MedCalc will perform these steps automatically when you select the dummy variable "*** AutoWeight 1/SD^2 ***" for "Weights" in the dialog boxes for regression. Estimate the regression coefficients using these weights.Use the fitted values from the estimated variance or standard deviation function to obtain the weights w i.Estimate the variance function or the standard deviation function by regressing either the squared residuals or the absolute residuals on the appropriate predictor(s). ![]() Fit the regression model by unweighted least squares and analyze the residuals.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |