• Tidak ada hasil yang ditemukan

SAS codes for logistic regression analysis 1 - KIRAN

N/A
N/A
Protected

Academic year: 2023

Membagikan "SAS codes for logistic regression analysis 1 - KIRAN"

Copied!
1
0
0

Teks penuh

(1)

SAS codes for logistic regression analysis 1

SAS Codes for logistic regression analysis

N. Uttam Singh, Kishore K Das, Anjoo Yumnam and Aniruddha Roy, 2018

Code for frequency count.

proc freq data = logistic_lrt;

tables Foodgrain_Yld*State /nocum nopercent;

run;

Code for logistic analysis.

ods graphics on;

proc logistic data=logistic_lrt

plots(only)=(oddsratio(range=clip) effect);

class State /param=ref;

model Foodgrain_Yld(event='1')= State Min_Tem Rain/expb ;

oddsratio State;

oddsratio Min_Tem;

oddsratio Rain;

run;

ods graphics off;

Code doe likelihood ratio test.

ods graphics on;

proc logistic data=logistic_lrt ; class State ;

model Foodgrain_Yld(event='1')= State Min_Tem Rain Min_Tem*Rain;

run;

ods graphics off;

data chitab;

chiscore=cinv(0.95,1);

run;

proc print data=chitab;

run;

data chitab;

chipvalue=1-probchi(2.001,1);

run;

proc print data=chitab;

run;

Referensi

Dokumen terkait

This study aims to improve students' reading comprehension skills and their participation in learning activities, the authors apply STT which allows students to work in groups by

In this article, we have explored the history of nomenclature as it relates to original inhabitants, the connotations of contemporary renaming practices in Australian education and