Based on the data and variables provided, here is an analysis plan
that you could follow:
1. Data Preparation
- Import Data: Load the dataset
FourChinese.sas7bdat into the SAS environment.
- Data Cleaning: Check for missing values, outliers,
or inconsistencies in the data. This may include checking the range of
age, weight, and birth weight to ensure they are reasonable.
- Variable Construction:
- Combine
Wheeze1, Wheeze2,
Wheeze3 into a single binary variable
WheezeCombined that indicates any wheezing occurrence.
- Recode any other variables if necessary to facilitate analysis
(e.g., re-coding
SEX1 to a character variable with ‘Male’
and ‘Female’).
2. Descriptive Statistics
- Summarize Continuous Variables: Use
PROC MEANS or PROC UNIVARIATE to get the mean,
median, standard deviation, and range for continuous variables such as
age, weight, and birth weight.
- Frequency Tables for Categorical Variables: Use
PROC FREQ to tabulate the counts and percentages of
categorical variables, including WheezeCombined,
CBRONDIG1, CASTHDIG1, and others.
3. Exploratory Data Analysis
- Visualize Data: Create histograms, box plots, and
bar charts for continuous and categorical variables using
PROC SGPLOT or PROC GCHART.
- Correlation Matrix: Generate a correlation matrix
for continuous variables to understand the relationships between them
using
PROC CORR.
4. Inferential Statistics
- Bivariate Analysis: Investigate the association
between each covariate and the outcomes using Chi-square tests for
categorical variables and t-tests or ANOVA for continuous
variables.
- Multivariate Analysis: Fit logistic regression
models to evaluate the association between exposure to coal smoke (and
other covariates) and each of the outcomes separately:
- Model for Wheeze (using
WheezeCombined):
PROC LOGISTIC.
- Model for Bronchitis (using
CBRONDIG1):
PROC LOGISTIC.
- Model for Asthma (using
CASTHDIG1):
PROC LOGISTIC.
- Interaction Terms: Test for interaction effects
between the main exposure (coal smoke) and other key covariates (e.g.,
district pollution levels).
- Model Diagnostics: Perform diagnostics for each
model to assess fit and check for multicollinearity and influential
observations.
5. Model Selection and Validation
- Model Selection: Use stepwise selection, AIC, or
BIC for model selection to identify the most important predictors for
each outcome.
- Model Validation: If possible, split the data into
training and validation sets to validate the predictive accuracy of your
models.
6. Sensitivity Analysis
- Alternative Models: Consider other modeling
approaches, such as Poisson regression for count data, if
appropriate.
- Robustness Checks: Re-run the models excluding
potential outliers or influential points to check the robustness of your
findings.
7. Reporting Results
- Summarize Findings: Prepare a summary of the main
results, including effect sizes, confidence intervals, and
p-values.
- Discussion: Discuss the implications of your
findings in the context of existing literature and the study’s
limitations.
8. Documentation
- Code Documentation: Comment your SAS code
thoroughly to ensure replicability and understanding.
- Research Diary: Keep a research diary documenting
your analysis decisions, reasons for these decisions, and any issues
encountered.
This plan provides a roadmap from data preparation to reporting
results. The specific details and SAS code will depend on the outcome of
each step and the nuances of the dataset.
Note that the echo = FALSE parameter was added to the
code chunk to prevent printing of the R code that generated the
plot.