|
|
|
||||
|
|
|||||
* read your data into Stata use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear generate goodread = (read > 60) * run logistic predicting "goodread" from "write" logit goodread female * run permutation test for above with 10000 repetitions permute female x2=e(chi2), reps(10000) nodots: logit goodread female
* read your data into Stata use http://www.ats.ucla.edu/stat/stata/notes/hsb2, clear generate goodread = (read > 60) * run logistic predicting "goodread" from "write" logit goodread female * run permutation test for above with 10000 repetitions permute female "logit goodread female" e(chi2), reps(10000)
UCLA Researchers are invited to our Statistical Consulting Services
We recommend others to our list of Other Resources for Statistical Computing Help
These pages are Copyrighted (c) by UCLA Academic Technology Services