
admin posted an update 7 months, 2 weeks ago

admin wrote a new post, How to set a working directory in R 8 months ago
In R, you can set a working directory in this way (I use C:/temp as an example).
setwd("C:/temp")
You need to be careful about the slash. Microsoft Windows uses backward slashes, "", to indicate the […]

admin wrote a new post, percentile quantile quartile 8 months ago

admin wrote a new post, How to implement an algorithm using R 8 months, 1 week ago
This is an example for calculating Body Mass Index using height and weight.
The first line sets the working directory in which the CSV file is located.
setwd("C:/Users/123/Documents/R")
temp – […]

admin wrote a new post, RCTs and QEDs 8 months, 1 week ago
The last two digits of Social Security Number are random numbers.

admin wrote a new post, Online Universities 8 months, 2 weeks ago
Coursera https://www.coursera.org

admin wrote a new post, Cronbach Coefficient Alpha 9 months, 1 week ago
SAS's proc cor procedure produces two types of cronbach coefficient alpha: raw value and standardized value.
proc corr alpha data=dataname_here;
var item1 item2 item3 item4 item5 item6 item7;
run;The […]

admin posted an update 9 months, 2 weeks ago

admin wrote a new post, Parent Survey 9 months, 2 weeks ago

admin wrote a new post, how to make Ramen broth 10 months ago

admin wrote a new post, How to make ramen noodle NOODLE 10 months ago
How to make the noodle part of Japanese ramen.

admin wrote a new post, Random effects vs. Fixed Effects 10 months, 1 week ago
Random effects:
Effects in this context refer to group outcome averages estimed by a regression model. In a regular regression models (OLS, Logistic Regression model), these are often estimated as […]

admin wrote a new post, When to use HLM (Hierarchical Linear Modeling) 10 months, 1 week ago
Not common: If your data is a census data (everyone is in the dataset, like US Census), you do not need to use HLM. You do not even need statistical testing because every estimate you get is a true estimate. […]

admin wrote a new post, How to adjust weights so the sum of weights = n of subjects in the sample 10 months, 1 week ago
This SAS code adjusts weights (e.g., sample weights) such that the sum of weights equals the sample size. Weight1 is the original weight and weight 2 is the result.
proc sql;
create table comp2 as
select […] 
admin wrote a new post, Matching with or without replacement (Propensity Score Matching) 10 months, 1 week ago
Quote:
"I now discuss different methods for forming matched pairs of treated and untreated subjects when matching on the propensity score. In doing so, several decisions must be made. First, one must choose […]

admin wrote a new post, Taking outcome assessment errors into consideration 10 months, 1 week ago
ESPRESSO: taking into account assessment errors on outcome and exposures in power analysis for association studies

admin wrote a new post, QC'ing ID and time variables 10 months, 2 weeks ago
When a data file is delivered in CVS or in Excel format and when it is converted into a software specific data table (e.g., SAS data), it is very important to check if ID and time variables are accurately […]

admin posted an update 10 months, 3 weeks ago
Reminder to myself: Figure out a way to create a pairwise comparison test based on a model that uses numeric variables to represent mutually exclusive categories (instead of just doing this by treating the subgroup variable as classification variables).

admin wrote a new post, How to edit a PROC GLIMMIX syntax into a PROC MIXED syntax 10 months, 4 weeks ago
I encountered a situation where somehow PROC GLIMMIX can't produce results while PROC MIXED can. In this WORD document, I showed you how I edited the PROC GLIMMIX syntax to be a PROC MIXED syntax. Please ignore […]
 Load More