正在加载图片...
We hypothesize that the older the woman at first menstruation, the greater the We may ask how well does this Poisson of CEB to her; the gre regression model of children ever born number of years of education, the less the ove our ability to predict the CEB; if the first pregnancy occurred after probabilities of a woman having each 1980. CEB will be lower urban women will number (i.e. each count) of children have fewer ceb than rural women We use the"prcounts command to We will now estimate a Poisson regression calculate the predicted probabilities for model, predicting CEB with the above ach count of ceB. We will call these seven x variables The stata command is poisson followed by the dependent predicted probabilities"prceb variable and then the seven x variables olsson ceb menarche afm fecund eduyrs urban han policy Stata command tertian 2: poisson ceb menarche afm fecund eduyrs urban han policy prcounts prob, plot max (10) LDg likelinond-5568955M label var prcebpreq"Prediction from PRM graph twoway connected cebprobobeq cebprobpreq prcebpreq cebprobval, title("Proportion or Probability ylabel((1).)xlabel(o(1)9)title("Distributions of CE Univariate Poisson)sub(and Poisson Regression Model) 1.14817 33 • We hypothesize that the older the woman at first menstruation, the greater the number of CEB to her; the greater the number of years of education, the less the CEB; if the first pregnancy occurred after 1980, CEB will be lower; urban women will have fewer CEB than rural women. • We will now estimate a Poisson regression model, predicting CEB with the above seven X variables. The Stata command is poisson followed by the dependent variable and then the seven X variables. 34 poisson ceb menarche afm fecund eduyrs urban han policy 18 35 • We may ask how well does this Poisson regression model of children ever born improve our ability to predict the probabilities of a woman having each number (i.e., each count) of children. • We use the “prcounts” command to calculate the predicted probabilities for each count of CEB. We will call these predicted probabilities “prceb”. 36 Stata command: poisson ceb menarche afm fecund eduyrs urban han policy prcounts prceb, plot max(10) label var prcebpreq "Prediction from PRM" graph twoway connected cebprobobeq cebprobpreq prcebpreq cebprobval, ytitle("Proportion or Probability") ylabel(0(.1).4) xlabel(0(1) 9) title("Distributions of CEB, Univariate Poisson") sub("and Poisson Regression Model")
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有