- 6
- 0
- 约1.09万字
- 约 9页
- 2017-05-03 发布于浙江
- 举报
In dealing with data we often encounter should be variable is the two classification
PAGE \* MERGEFORMAT 9
In dealing with data we often encounter should be variable is the two classification
[Keywords:] in dealing with data
In dealing with data, we often encounter the dependent variable is the two categories, multiple categories, such as: disease or not the disease, success and failure, treatment outcome of cure, improvement, invalid and so on, assuming that the probability of occurrence P, n-observations are independent under the conditions generally used Logistic regression analysis of data, the model variables can be continuous and categorical variables can also be applied very extensive. SAS software provides a Logistic, genmod, nlmixed, catmod such processes to analyze the data, this study discusses how to use different processes to analyze the two multi-category classification and Logistic regression model.
A dependent variable for the two categories Logistic Regression
Example 1: To study of gender and the different treatments of a disease curable or not, the impact of the data in Table 1.
Table 1 Gender and treatment of a disease effects (abbreviated)
Program: data aa; input sex $ treat $ y count @ @; cards; ma 1 78 ma 0 28 mb 1 101 mb 0 11 ... ... fc 0 6; Method 1: PROC GENMOD data = aa descending; class sex treat; freq count; model response = sex treat / dist = binomial link = logit; run; / * dist = binomial and link = logit fit two categories logistic regression model * / Method 2: PROC LOGISTIC data = aa descending; class sex treat / param = ref ref = last; freq count; model response = sex treat; run; Method 3: proc catmod order = data; weight count; model y = sex treat; run; in order to explain the intuitive nature, we usually have to be interested in routed to the final value of the variable (in ascending order), the fit of the event (event) probability of occurrence, cases of a selection of choice items in descending, fitting the dependent variable y = 1 the probability that the fitting ordered value of a corresponding
您可能关注的文档
- Implementation of health education Neurosurgery.doc
- Implementation of Health Education.doc
- Implementation of health education methods to create ICU.doc
- Implementation of human resources change the promotion of management upgrade.doc
- Implementation of low-cost drugs confused directory- Pharmaceutical marketing policy perspective.doc
- Implementation of outpatient infusion experience of booking.doc
- Implementation of preoperative interview and experience.doc
- Implementation of local military hospitals lump sum cost of a single disease should pay attention to avoid problems.doc
- Implementation of precise communication in fact you can.doc
- Implementation of the base marketing four indispensable.doc
- 2023年度十大热点人物的素材解读与运用-2024年高考语文作文热点素材积累运用与(全国通用).pdf
- 格力室外机中央空调价格表.pdf
- 2026上半年贵州事业单位联考贵州省交通运输厅招聘84人备考题库完整答案详解.docx
- 2026上半年贵州事业单位联考贵州传媒职业学院招聘12人备考题库附参考答案详解(达标题).docx
- 2026上半年贵州事业单位联考贵州省住房和城乡建设厅招聘16人备考题库含答案详解(培优).docx
- 2026上半年贵州事业单位联考玉屏侗族自治县招聘41人备考题库及答案详解(夺冠系列).docx
- 通信原理实验2数字频带传输系统实验.pdf
- 2026上半年贵州事业单位联考贵州医科大学第二附属医院招聘22人备考题库含答案详解(能力提升).docx
- 2026上海复旦大学计算力学与人工智能交叉研究院(筹)招聘专任研究员2人备考题库完整答案详解.docx
- 2026上半年贵州事业单位联考贵州民族大学招聘52人备考题库附参考答案详解(研优卷).docx
原创力文档

文档评论(0)