Suppose you had a file with 25 observations that had a variable identifying the observations called id and you had information about the observation, here we just have age. DATA…
Read More
Search Results for: what stat should i use
How can I estimate relative risk in SAS using proc genmod for common outcomes in cohort studies? | SAS FAQ
Credits This page was developed and written by Karla Lindquist, Senior Statistician in the Division of Geriatrics at UCSF. We are very grateful to Karla for taking the time to…
Read More
How do I read/write Excel files in SAS? | SAS FAQ
Reading an Excel file into SAS Suppose that you have an Excel spreadsheet called https://stats.idre.ucla.edu/wp-content/uploads/2016/02/auto.xlsx. The data for this spreadsheet are shown below. MAKE MPG WEIGHT PRICE AMC Concord 22…
Read More
How can I get “adjusted” predicted values from a logistic model in SAS? | SAS FAQ
After running a logistic model with multiple predictors or an interaction, you may wish to be able to see predicted values with confidence intervals for different combinations of predictors. This…
Read More
Applied Regression Analysis by John Fox Chapter 12: Nonlinearity and Other Ills | SAS Textbook Examples
Section 12.1 Nonnormally Distributed Errors Figure 12.1 (a) and (b) on page 297 and using data file ornstein. data ornstein_co; /*Dummy coding: baseline is ‘CAN’ for nation and ‘MAN’ for…
Read More
Applied Regression Analysis, Linear Models, and Related Methods by John FoxDownload SAS Data Files
This page contains the data files for the book Applied Regression Analysis, Linear Models, and Related methods by John Fox. We are very grateful to Professor Fox for granting us…
Read More
Regression Analysis by Example by Chatterjee, Hadi and Price: Chapter 7
/* Education Expenditure data, table 7.3, p. 189 */ data p189; length state $ 2 ; input State Y X1 X2 X3 Region ; label x1 = ‘Income’ x2 =…
Read More
Sample Power Data Analysis Examples Power Analysis for One-sample t-test
Examples Example 1. A company that manufactures light bulbs claims that a particular type of light bulb will last 850 hours on average with standard deviation of 50. A consumer…
Read More
Sample Power Data Analysis Examples Two Independent Proportions Power Analysis
Introduction Power analysis is the name given to the process for determining the sample size for a research study. The technical definition of power is the probability of detecting a…
Read More
Sample Power Data Analysis Examples One-way ANOVA Power Analysis
Introduction Power analysis is the name given to the process for determining the sample size for a research study. The technical definition of power is the probability of detecting a…
Read More
