Perfect! Thank you!
S
-Original Message-
From: Uwe Ligges [mailto:lig...@statistik.tu-dortmund.de]
Sent: Wednesday, August 31, 2011 4:44 PM
To: Shane Phillips
Cc: r-help@r-project.org
Subject: Re: [R] Converting anova/ancova summary to data frame
On 31.08.2011 22:33, Shane Phillips
Hi!
Can anyone tell me how to convert the anova/ancova summary output into a data
frame?
Thanks!
Shane Phillips
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do
Hi!
I am running a simulation testing group balance using different propensity
score matching techniques. I am using the MatchIt package to match and analyze
the data. Since I am running this analysis many, many times with different
simulated data sets, I need to make the output from the Matc
I have the following script for generating a dataset. It works like a champ
except for a couple of things.
1. I need the variables "itbs" and "map" to be negatively correlated with the
binomial variable "lunch" (around -0.21 and -0.24, respectively). The binomial
variable "lunch" needs to
Hi, R-Helpers!
I have a dataframe that contains a binomial variable. I need to add another
random variable drawn from a normal distribution with a specific mean and
standard deviation. This variable also needs to be correlated with the
existing binomial variable with a specific correlation (s
to all who have helped so far! You are all so smart!
S
From: Charles Annis, P.E. [charles.an...@statisticalengineering.com]
Sent: Friday, April 15, 2011 3:00 PM
To: Shane Phillips; r-help@r-project.org
Subject: RE: [R] Monte Carlo Simulation
What have you tr
es.an...@statisticalengineering.com]
Sent: Friday, April 15, 2011 3:01 PM
To: Shane Phillips; r-help@r-project.org
Subject: RE: [R] Monte Carlo Simulation
What have you tried so far?
It is often helpful to begin with a much simpler problem, then add
complexity incrementally until you've constructed t
Hello, R friends...
I am very new to R, and I need some help. I am trying to construct a
simulation for my dissertation.
I need to create 1000 datasets of 1000 subjects with the following variables...
Treatment variable - Drawn from a binomial distribution (1 run, prob=.13)
Covariate 1 - Drawn
#x27;t apply it to this
program.
Sorry! I'm really new to this.
Thanks for your help!
Shane
-Original Message-
From: Dr. Pablo E. Verde [mailto:pabloemilio.ve...@uni-duesseldorf.de]
Sent: Tuesday, April 12, 2011 8:53 AM
To: andrija djurovic; Shane Phillips
Cc: r-help@r-project.org
I have a categorical variable in a dataframe similar to the following...
cat
1
1
3
2
4
I need to convert it to 4 dichotemous variables for each observations like...
cat1cat2cat3cat4
1 0 0 0
1 0 0 0
0 0 1 0
0 1 0
I'm new to R, but I'm trying to write a program for a dissertation that
generates a dataset as follows...
subject=1:1000
treat=rbinom(1*1000,1,.13)
gender=rbinom(1*1000,1,.5)
eth=runif(1*1000, min=1, max=4)
cogat=rnorm(1*1000, 100, 16)
map=rnorm(1*1000, 200, 9)
simtest=data.frame (subjec
11 matches
Mail list logo