Statalisters:
I'm going to apologize in advance for something that should be obvious to me, but I've searched for an answer and can't find it.
For the example data below,
standard regression
regress dose age
and GLM
glm dose age, family(gaussian) link(identity)
produce the same coefficient, std error, and z value, but the confidence intervals and p values differ.
What are the options I should be using to get the GLM to calculate the identical p value and CI as regress, and are there options for getting regress to display the p value and CI that GLM was calculating as its default.
Thank you in advance.
Mitchell Berman
Columbia University
I'm going to apologize in advance for something that should be obvious to me, but I've searched for an answer and can't find it.
For the example data below,
standard regression
regress dose age
and GLM
glm dose age, family(gaussian) link(identity)
produce the same coefficient, std error, and z value, but the confidence intervals and p values differ.
What are the options I should be using to get the GLM to calculate the identical p value and CI as regress, and are there options for getting regress to display the p value and CI that GLM was calculating as its default.
Thank you in advance.
Mitchell Berman
Columbia University
Code:
* Example generated by -dataex-. To install: ssc install dataex clear input float dose str1 inst float age 75 "1" 90 93 "1" 80 96 "1" 70 113 "1" 60 118 "1" 50 71 "2" 90 78 "2" 80 78 "2" 70 82 "2" 60 94 "2" 50 25 "3" 90 35 "3" 80 63 "3" 70 70 "3" 60 120 "3" 50 end
Comment