Displaying 20 results from an estimated 220 matches similar to: "Panel regression in R"
2005 Oct 07
3
panel data unit root tests
Hi,
The question is as follows: has anyone coded panel data unit root tests
with R? Even the "first generation" tests (see e.g. Levin & Lin 1993;
Pesaran, & Smith & Im 1996; Maddala & Wu 1999) would be sufficient for my
needs. To my understanding, these are rather easy to code, but as I have
taken just my first steps in coding with R, existing code would save me
2005 Aug 01
1
NA when using read.csv
Hi, when I used:
Dist=read.csv("test.csv",header=TRUE)
to read data from CSV file. For some cells, R
mistakenly put in as NA, while most of the cells still
appears to be right, and there is no error message in
R. I am pretty sure the csv file is all right, but
just can't figure out what went wrong. Can someone
share your thoughts with me? Thanks!
Ed
2005 Aug 05
1
calculate likelihood based on logit regression
Hi,
I just ran the following logit regression. But can
anyone tell me how to calculate how much more likely
males (Male=1) could show such symptom than
females(Male=0)? I know it must be simple to get once
I have the coefficients, but I just don't recall.
Thank you very much!
Call:
glm(formula = Symptoms ~ 1 + Male, family =
binomial(link = logit),
data = HA)
Deviance Residuals:
2005 Aug 03
4
R CMD build error
Dear list,
I try to update the prabclus package.
R CMD check works nicely, no warnings, good results in all tests.
However, building the package fails:
ginkgo:/disk5/home/chrish/RAusw/libsrc R CMD build prabclus
* checking for file 'prabclus/DESCRIPTION' ... OK
* preparing 'prabclus':
* checking whether 'INDEX' is up-to-date ... OK
* removing junk files
* building
2005 Feb 10
1
rats in survival package
Dear R-listers,
Does anybody know what is the correct source of "rats" dataset in survival package?
The help gives the following information:
Rat data from survival5
Description:
48 rats were injected with a carcinogen, and then randomized to
either drug or placebo. The number of tumors ranges from 0 to 13;
all rats were censored at 6 months after randomization.
2010 Aug 22
2
coxme AIC score and p-value mismatch??
Hi,
I am new to R and AIC scores but what I get from coxme seems wrong. The AIC
score increases as p-values decrease.
Since lower AIC scores mean better models and lower p-values mean stronger
effects or differences then shouldn't they change in the same direction? I
found this happens with the data set rats as well as my own data. Below is
the output for two models constructed with the rats
2006 Aug 30
1
lmer applied to a wellknown (?) example
Dear all,
During my pre-R era I tried (yes, tried) to understand mixed models by
working through the 'rat example' in Sokal and Rohlfs Biometry (2000)
3ed p 288-292. The same example was later used by Crawley (2002) in his
Statistical Computing p 363-373 and I have seen the same data being used
elsewhere in the litterature.
Because this example is so thoroughly described, I thought
2007 Dec 20
1
hierarchical linear models, mixed models and lme
Dear R-users,
I am trying to analyse the data of the box 10.5 in the Biometry from
Sokal and Rohlf (2001) using R. This is a three-level nested anova with
equal sample size : 3 different treatments are compared ; 2 rats (coded
1 or 2) / treatment are studied ; 3 preparations (coded 1, 2 or 3) /
rats are available ; 2 readings of the glycogen content / preparations
are realised. Treatment is
2003 Feb 13
1
fixed and random effects in lme
Hi All,
I would like to ask a question on fixed and random effecti in lme. I am
fiddlying around Mick Crawley dataset "rats" :
http://www.bio.ic.ac.uk/research/mjcraw/statcomp/data/
The advantage is that most work is already done in Crawley's book (page 361
onwards) so I can check what I am doing.
I am tryg to reproduce the nested analysis on page 368:
2003 Mar 21
2
Trying to make a nested lme analysis
Hi,
I''m trying to understand the lme output and procedure.
I''m using the Crawley''s book.
I''m try to analyse the rats example take from Sokal and Rohlf (1995).
I make a nested analysis using aov following the book.
> summary(rats)
Glycogen Treatment Rat Liver
Min. :125.0 Min. :1 Min. :1.0 Min. :1
1st Qu.:135.8
2012 May 19
2
Loading the stupid dataset--help!!!
I am using the following:
library(RODBC)
chan = odbcConnectExcel("rats-lda")
rats.lda = sqlFetch(chan, "data")
close(chan)
And getting the following error message:
> library(RODBC)
Error in library(RODBC) : there is no package called ?RODBC?
> chan = odbcConnectExcel("rats-lda")
Error: could not find function "odbcConnectExcel"
> rats.lda =
2006 Mar 06
1
P-values from survreg (survival package) using a clusterterm
Hi all.
Belove is the example from the cluster-help page wtih the output.
I simply cannot figure out how to relate the estimate and robust Std. Err to
the p-value. I am aware this a marginal model applying the sandwich
estimator using (here I guess) an emperical (unstructered/exchangeable?)
ICC. Shouldent it be, at least to some extend, comparable to the robust
z-test, for rx :
2011 Jun 25
2
cluster() or frailty() in coxph
Dear List,
Can anyone please explain the difference between cluster() and
frailty() in a coxph? I am a bit puzzled about it. Would appreciate
any useful reference or direction.
cheers,
Ehsan
> marginal.model <- coxph(Surv(time, status) ~ rx + cluster(litter), rats)
> frailty.model <- coxph(Surv(time, status) ~ rx + frailty(litter), rats)
> marginal.model
Call:
coxph(formula =
2014 Mar 31
2
help with default setting from samba4 to RATS user mananager
Hai,
?
( Debian / sernet-samba 4.1.6 )
?
Im working on the member server join now, and almost finished.
?
But when i create a new user in the AD and when i go to the unix tab.? ( using the windows RATS tools )
There i want samba to adapt the settings i want, like:
?
??????? template shell = /bin/bash
??????? template homedir = /home/samba/DOMAINNAME/USERNAME
?
but?when lways the from the
2015 Nov 24
2
getting started with GPOs
Am 24.11.2015 um 16:04 schrieb L.P.H. van Belle:
> Win8.1 use the RATS tools.
> Win 10, no RATS.
>
> Look here : http://trekker.net/archives/group-policy-downloads/
I think you mean RSAT.
What do you mean with "Win 10, no RSAT"? RSAT is available for Win10:
https://wiki.samba.org/index.php/Installing_RSAT#Download
Regards,
Marc
2005 Feb 04
2
Bayesian Network
Hello,
I would like to use Bayesian Networks with R.
I have already installed the package called deal which has succefully unpacked (package 'deal' successfully unpacked and MD5 sums checked)
.
But when I try to write " <- network (df)
I have that kind of error message (be low)!
rats <- network(rats.df)
Error: couldn't find function "network"
Thank u for your
2012 May 21
1
fda modeling
Dear friends - We have 25 rats, 14 of these subjected to partial removal
of kidney tissue, 11 to sham operation, and then followed for 6 weeks.
So far we have data on 26 urine metabolites measured by NMR 7 times
during the observation. I have smoothed the measurements by b.splines in
fda including a roughness penalty, and inspecting the mean curves for
nephrectomized and sham animals indicate
2011 Jul 08
1
coxme for random effects only model
Dear all,
I have encountered the following problem where coxme seems to allow
model with only random effect in R 2.11.1 but not in R 2.13.0. Following
is the error message using rat example data. Any comment on this is
appreciated.
In R2.13
> library(coxme)
> rat1 <- coxme(Surv(time, status) ~ rx + (1|litter), rats)
> rat0 <- coxme(Surv(time, status) ~ (1|litter), rats)
2007 Sep 13
2
Multivariate, multilevel regression?
Dear WizaRds,
This is mostly a statistics question, but I'm figuring that R is the right solution (even before I start!)
I have some bio data of heart rate versus time (rats taken from resting to maximal heart rate). I want to regress heart rate on time. The data have been normalized such that resting heart rate is zero at time=0, so that all curves intersect at the origin (and at the origin
2009 Jun 26
3
Optimization and Linear Programming in R
Dear List,
My student and I are looking for an optimizer for a nonlinear optimization problem we are working on. The problem we are working on is to try to pick a set of islands on which to eradicate rats for seabird conservation. We have about 50 islands, each of which has some subset of 17 seabird species. Rats are present on all islands, and will cause the seabirds to go extinct unless they