[R] standard error for regression coefficients corresponding to factor levels

2017-03-16 Thread li li
Hi all, I have the following data called "data1". After fitting the ancova model with different slopes and intercepts for each region, I calculated the regression coefficients and the corresponding standard error. The standard error (for intercept or for slope) are all the same for different regi

[R] Standard error of quasi-Poisson regression coefficients in mgcv

2015-01-24 Thread YuHao
Hi, I am analyzing the relationship between animal density and several environmental factors using GAM in mgcv. I used Poisson distribution and quasi-Poisson model separately because there is overdispersion. In my model, there is a categorical predictor variable "Year". However, when I compared

Re: [R] standard error of survfit.coxph()

2014-07-21 Thread array chip
do appear per request in the summary output. Terry T. On 06/28/2014 05:00 AM, r-help-requ...@r-project.org wrote: > Message: 9 > Date: Fri, 27 Jun 2014 12:39:29 -0700 > To:"r-help@r-project.org"  > Subject: [R] standard error of survfit.coxph() > Message-ID: >     <140

Re: [R] standard error of survfit.coxph()

2014-07-21 Thread array chip
elp-requ...@r-project.org wrote: > Message: 9 > Date: Fri, 27 Jun 2014 12:39:29 -0700 > To:"r-help@r-project.org"  > Subject: [R] standard error of survfit.coxph() > Message-ID: >     <1403897969.91269.yahoomail...@web122906.mail.ne1.yahoo.com> > Content-Typ

Re: [R] standard error of survfit.coxph()

2014-07-21 Thread array chip
14 05:00 AM, r-help-requ...@r-project.org wrote: > Message: 9 > Date: Fri, 27 Jun 2014 12:39:29 -0700 > To:"r-help@r-project.org"  > Subject: [R] standard error of survfit.coxph() > Message-ID: >     <1403897969.91269.yahoomail...@web122906.mail.ne1.yahoo.com> > Co

Re: [R] standard error of survfit.coxph()

2014-06-30 Thread array chip
elp-requ...@r-project.org wrote: > Message: 9 > Date: Fri, 27 Jun 2014 12:39:29 -0700 > To:"r-help@r-project.org"  > Subject: [R] standard error of survfit.coxph() > Message-ID: >     <1403897969.91269.yahoomail...@web122906.mail.ne1.yahoo.com> > Content

Re: [R] standard error of survfit.coxph()

2014-06-30 Thread Therneau, Terry M., Ph.D.
ear per request in the summary output. Terry T. On 06/28/2014 05:00 AM, r-help-requ...@r-project.org wrote: Message: 9 Date: Fri, 27 Jun 2014 12:39:29 -0700 From: array chip To:"r-help@r-project.org" Subject: [R] standard error of survfit.coxph() Message-ID: <1403897969.

[R] standard error of survfit.coxph()

2014-06-27 Thread array chip
Hi, can anyone help me to understand the standard errors printed in the output of survfit.coxph()? time<-sample(1:15,100,replace=T) status<-as.numeric(runif(100,0,1)<0.2) x<-rnorm(100,10,2) fit<-coxph(Surv(time,status)~x)     ### method 1 survfit(fit, newdata=data.frame(time=time,status=status

Re: [R] Standard Error and P-Value from cor()

2013-04-18 Thread Pascal Oettli
Hi, ?cor.test Regards, Pascal 2013/4/19 Gundala Viswanath > Is there a native way to produce SE of correlation in R's cor() functions > and p-value from T-test? > > As explained in this web > http://www.sjsu.edu/faculty/gerstman/StatPrimer/correlation.pdf > (page 14.6) > > The standard erro

[R] Standard Error and P-Value from cor()

2013-04-18 Thread Gundala Viswanath
Is there a native way to produce SE of correlation in R's cor() functions and p-value from T-test? As explained in this web http://www.sjsu.edu/faculty/gerstman/StatPrimer/correlation.pdf (page 14.6) The standard error is sqrt((1-r^2)/(n-2)), where n- is the number of sample. - G.V. [[

[R] Standard error of normalmixEM fit?

2013-03-31 Thread Stat Tistician
I fitted a mixture denstiy of two gaussians two my data. I now want to calculated the standard errors of the estimates via the boot.se command of the mixtools package. My question is now, if the output is correct? It seems a bit odd to me, so is this correct what I am doing and can I rely on the va

Re: [R] standard error very high in maximum liklihood fitting

2013-02-12 Thread Ben Bolker
Abu Naser hotmail.com> writes: > I have been trying to fit my data (only right censored) > with gumbel distribution using fitdistrplus. I am > getting very high standard error. I have been wondering why. > The followings are the outputs: > > fit1=fitdistcens(dr0, "gumbel", start=list(a=99, b=0.

[R] standard error very high in maximum liklihood fitting

2013-02-12 Thread Abu Naser
Dear all, I have been trying to fit my data (only right censored) with gumbel distribution using fitdistrplus. I am getting very high standard error. I have been wondering why. The followings are the outputs: fit1=fitdistcens(dr0, "gumbel", start=list(a=99, b=0.6), optim.method= "L-B

Re: [R] standard error for quantile

2012-11-12 Thread Thomas Lumley
On Tue, Nov 13, 2012 at 11:59 AM, Rolf Turner wrote: > > My apologies for returning to this issue after such a considerable > length of time ... but I wanted to check the result in Cramer's book, > and only yesterday managed to get myself organised to go the > library and check it out. > > What b

Re: [R] standard error for quantile

2012-11-12 Thread Rolf Turner
My apologies for returning to this issue after such a considerable length of time ... but I wanted to check the result in Cramer's book, and only yesterday managed to get myself organised to go the library and check it out. What bothers me is what happens when f(Q.p) = 0. The formula that you

Re: [R] standard error for quantile

2012-10-31 Thread Ted Harding
[see in-line below] On 31-Oct-2012 10:26:14 PIKAL Petr wrote: > Hi Ted > >> -Original Message- >> From: ted@deb [mailto:ted@deb] On Behalf Of Ted Harding >> Sent: Tuesday, October 30, 2012 6:41 PM >> To: r-help@r-project.org > > > >> >> The general asymptotic result for the pth quanti

Re: [R] standard error for quantile

2012-10-31 Thread Roger Koenker
The rank test inversion option that you are trying to use won't work with only one coefficient, and therefore with univariate quantiles, if you use summary(rq(rnorm(50) ~ 1, tau = .9), cov = TRUE) you will have better luck. url:www.econ.uiuc.edu/~rogerRoger Koenker emailrkoen.

Re: [R] standard error for quantile

2012-10-31 Thread PIKAL Petr
t; Cc: r-help@r-project.org help > Subject: Re: [R] standard error for quantile > > Petr, > > You can do: > > require(quantreg) > summary(rq(x ~ 1, tau = c(.10,.50,.99)) > > > url:www.econ.uiuc.edu/~rogerRoger Koenker > emailrkoen..

Re: [R] standard error for quantile

2012-10-31 Thread PIKAL Petr
Hi Ted > -Original Message- > From: ted@deb [mailto:ted@deb] On Behalf Of Ted Harding > Sent: Tuesday, October 30, 2012 6:41 PM > To: r-help@r-project.org > > The general asymptotic result for the pth quantile (0 sample of size n is that it is asymptotically Normally distributed with >

Re: [R] standard error for quantile

2012-10-31 Thread PIKAL Petr
Hi Bert > -Original Message- > From: Bert Gunter [mailto:gunter.ber...@gene.com] > Sent: Tuesday, October 30, 2012 3:37 PM > To: PIKAL Petr > Cc: r-help@r-project.org > Subject: Re: [R] standard error for quantile > > Petr: > > 1. Not an R question. Par

Re: [R] standard error for quantile

2012-10-31 Thread PIKAL Petr
> -Original Message- > From: Jim Lemon [mailto:j...@bitwrit.com.au] > Sent: Wednesday, October 31, 2012 9:56 AM > To: PIKAL Petr > Cc: r-help@r-project.org > Subject: Re: [R] standard error for quantile > > On 10/31/2012 12:46 AM, PIKAL Petr wrote: > > Dear all > > &

Re: [R] standard error for quantile

2012-10-31 Thread Jim Lemon
On 10/31/2012 12:46 AM, PIKAL Petr wrote: Dear all I have a question about quantiles standard error, partly practical partly theoretical. I know that x<-rlnorm(10, log(200), log(2)) quantile(x, c(.10,.5,.99)) computes quantiles but I would like to know if there is any function to find stan

Re: [R] standard error for quantile

2012-10-30 Thread Ted Harding
On 30-Oct-2012 13:46:17 PIKAL Petr wrote: > Dear all > > I have a question about quantiles standard error, partly practical > partly theoretical. I know that > > x<-rlnorm(10, log(200), log(2)) > quantile(x, c(.10,.5,.99)) > > computes quantiles but I would like to know if there is any funct

Re: [R] standard error for quantile

2012-10-30 Thread Roger Koenker
Petr, You can do: require(quantreg) summary(rq(x ~ 1, tau = c(.10,.50,.99)) url:www.econ.uiuc.edu/~rogerRoger Koenker emailrkoen...@uiuc.eduDepartment of Economics vox: 217-333-4558University of Illinois fax: 217-244-6678

Re: [R] standard error for quantile

2012-10-30 Thread Bert Gunter
Petr: 1. Not an R question. 2. You want the distribution of order statistics. Search on that. It's basically binomial/beta. -- Bert On Tue, Oct 30, 2012 at 6:46 AM, PIKAL Petr wrote: > Dear all > > I have a question about quantiles standard error, partly practical > partly theoretical. I know

[R] standard error for quantile

2012-10-30 Thread PIKAL Petr
Dear all I have a question about quantiles standard error, partly practical partly theoretical. I know that x<-rlnorm(10, log(200), log(2)) quantile(x, c(.10,.5,.99)) computes quantiles but I would like to know if there is any function to find standard error (or any dispersion measure) of th

Re: [R] standard error

2012-05-28 Thread David Winsemius
On May 28, 2012, at 5:20 AM, Christopher Kelvin wrote: Dear all, I want to determine the standard error or the mean squared error for the parameter estimate for beta and eta base on the real data. Any help on how to obtain these estimated errors. library(survival) d <- data.frame(ob=c(14

[R] standard error

2012-05-28 Thread Christopher Kelvin
Dear all,  I want to determine the standard error or the mean squared error for the parameter estimate for beta and eta base on the real data.  Any help on how to obtain these estimated errors. library(survival) d <- data.frame(ob=c(149971, 70808, 133518, 145658, 175701, 50960, 126606, 82329),

[R] standard error

2012-04-22 Thread Christopher Kelvin
Hello, I have tried obtaining the value of standard error from the code below but i get different values when i compare it with the  standard error obtained from the hessian matrix. Can somebody help me out? Thank you n=100;rr=1000 p1=1.2;b=1.5 sq11=sq21=0 for (i in 1:rr){ t<-rweibull(n,shape=p1,

[R] Standard error

2012-04-22 Thread Christopher Kelvin
Hello, I have tried obtaining the value of standard error from the code below but i get different values when i compare it with the  standard error obtained from the hessian matrix. Can somebody help me out? Thank you n=100;rr=1000 p1=1.2;b=1.5 sq11=sq21=0 for (i in 1:rr){ t<-rweibull(n,shape=p1,

[R] Standard error terms from gfcure

2012-03-27 Thread Bonnett, Laura
Dear R-help, I am using R 2.14.1 on Windows 7 with the 'gfcure' package (cure rate model). I have included the treatment variable in the cure part of the model as shown below: Ø ref_treat <- gfcure(Surv(rem.Remtime,rem.Rcens)~1,~1+strata(drpa)+factor(treat(delcure)),data=delcure,dist="loglogi

Re: [R] standard error for lda()

2012-02-09 Thread David Winsemius
To: array chip Cc: "r-help@r-project.org" Sent: Thursday, February 9, 2012 2:59 PM Subject: Re: [R] standard error for lda() On Feb 9, 2012, at 4:45 PM, array chip wrote: > Hi, didn't hear any response yet. want to give it another try.. appreciate any suggestions. > My

Re: [R] standard error for lda()

2012-02-09 Thread array chip
osterior probabilities, the predicted class, etc. My question is whether it's possible to produce standard errors for these posterior probabilities? Thanks again. John From: David Winsemius Cc: "r-help@r-project.org" Sent: Thursday, February

Re: [R] standard error for lda()

2012-02-09 Thread David Winsemius
nner that seems rather cavalier , admittedly this being a very particular reaction from this non-expert audience of one. John To: "r-help@r-project.org" Sent: Wednesday, February 8, 2012 12:11 PM Subject: [R] standard error for lda() Hi, I am wo

[R] standard error for lda()

2012-02-09 Thread array chip
Hi, didn't hear any response yet. want to give it another try.. appreciate any suggestions. John To: "r-help@r-project.org" Sent: Wednesday, February 8, 2012 12:11 PM Subject: [R] standard error for lda() Hi, I am wondering if it is pos

[R] standard error for lda()

2012-02-08 Thread array chip
Hi, I am wondering if it is possible to get an estimate of standard error of the predicted posterior probability from LDA using lda() from MASS? Logistic regression using glm() would generate a standard error for predicted probability with se.fit=T argument in predict(), so would it make sense t

Re: [R] Standard error bars on bar plots

2011-08-12 Thread Mikhail Titov
plot.ci=TRUE,ci.l=means,ci.u=means+halfSE) Mikhail > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Uwe Ligges > Sent: Friday, August 12, 2011 12:04 PM > To: Christopher Crooks > Cc: r-help@r-project.or

Re: [R] Standard error bars on bar plots

2011-08-12 Thread Uwe Ligges
On 12.08.2011 18:43, Christopher Crooks wrote: Hi, I know there have been numerous posts about this but I am unable to find one, or at least carry out one, that gives me the plot I want. I have managed to add the error bars to the plot, but they end up not aligned with the centre of the bars

[R] Standard error bars on bar plots

2011-08-12 Thread Christopher Crooks
Hi, I know there have been numerous posts about this but I am unable to find one, or at least carry out one, that gives me the plot I want. I have managed to add the error bars to the plot, but they end up not aligned with the centre of the bars themselves. Here is my script: means<-c(0.135

Re: [R] standard error of exp(coef) from coxph

2011-07-25 Thread David Winsemius
On Jul 23, 2011, at 1:41 AM, Ehsan Karim wrote: Dear List, Must be a silly question, but I was wondering whether there is a direct way of calculating "standard error of a HR or exp(coef)" from coxph objects x <- coxph(Surv(time, status) ~ age + inst, lung)> xcoef exp(coef) se(coe

[R] standard error of exp(coef) from coxph

2011-07-22 Thread Ehsan Karim
Dear List, Must be a silly question, but I was wondering whether there is a direct way of calculating "standard error of a HR or exp(coef)" from coxph objects x <- coxph(Surv(time, status) ~ age + inst, lung)> xcoef exp(coef) se(coef) zpage 0.0190 1.02 0.00925 2.06 0.04i

[R] Standard error lines within xyplot trellis plots

2011-05-23 Thread e-mail tom.pienkowski
Hi I'm using the lattice function to plot catch data for two types of catch between two communities over time using the xyplot. I've used *"smooth"*when specifying * type=c( )* . Here is a sample of my code below: > xyplot(ns+ rc~wk|location, type=c("p", "smooth"), xlab="Week", + main="Native sh

[R] Standard Error for Cointegration Results

2011-04-03 Thread Kin Ming Wong
Dear Sir/Madam, I have used ca.jo in urca package to identify the cointegration and cajorls to estimate the vecm. Althought both return the coefficients for long run relationship (or ect1 in cajorls), I am unable to find the standard error and t statistics. I spend some weeks to search arou

Re: [R] Standard error of forecast

2010-09-28 Thread Ista Zahn
Hi, predict(model_fit, se.fit=TRUE) see ?predict.lm for details. -Ista On Tue, Sep 28, 2010 at 12:16 PM, Brima wrote: > > Hi all, > > This is very basic but for a starter nothing is. I have a simple linear > regression I am using to predict some values and I need the standard error > of the pr

[R] Standard error of forecast

2010-09-28 Thread Brima
Hi all, This is very basic but for a starter nothing is. I have a simple linear regression I am using to predict some values and I need the standard error of the prediction (forecast). Whats the easiest/bestway of getting this error? Best regards -- View this message in context: http://r.78969

Re: [R] Standard Error for difference in predicted probabilities

2010-09-24 Thread Darin A. England
I think you can use the bootstrap to obtain the std error. My attempt for your problem and data is below. I would be interested if anyone can point out a problem with this approach. Darin y=rbinom(100,1,.4) x1=rnorm(100, 3, 2) x2=rbinom(100, 1, .7) diff <- vector(mode="numeric", length=200) for

[R] Standard Error for difference in predicted probabilities

2010-09-24 Thread Andrew Miles
Is there a way to estimate the standard error for the difference in predicted probabilities obtained from a logistic regression model? For example, this code gives the difference for the predicted probability of when x2==1 vs. when x2==0, holding x1 constant at its mean: y=rbinom(100,1,.4)

Re: [R] standard error of difference for mixed effects

2010-09-16 Thread ONKELINX, Thierry
hn Tukey > -Oorspronkelijk bericht- > Van: r-help-boun...@r-project.org > [mailto:r-help-boun...@r-project.org] Namens Meissner, Tony (DFW) > Verzonden: donderdag 16 september 2010 2:58 > Aan: r-help@r-project.org > Onderwerp: [R] standard error of difference for m

Re: [R] standard error of difference for mixed effects

2010-09-15 Thread Dennis Murphy
Hi: Why is phase nested within sites? Shouldn't sites and phase be crossed? After all, there is one intervention (works) that purportedly affects the river both upstream and downstream. Moreover, why is log(flow) being treated as both a fixed and random effect? Just curious, Dennis On Wed, Sep 1

[R] standard error of difference for mixed effects

2010-09-15 Thread Meissner, Tony (DFW)
I have a dataset relating the effects of engineering works on the level of salinity in a river before and after the works. I have modelled this using linear mixed effects models to determine if the significance and level of the response to the works. I am wanting to calculate the se of differe

[R] standard error for predicted mean count from ZIP

2010-07-30 Thread Brian S Cade
Does anyone have code for computing the standard error of the predicted mean count from a zero-inflated Poisson regression model estimated by the zeroinfl() function from the pscl package (and yes, we've checked with A. Z. already)? Thank you Brian Brian S. Cade, PhD U. S. Geological Survey

Re: [R] standard error of Binary logistic regression coefficient.

2010-07-27 Thread Joshua Wiley
Hi, Just to extend the excellent suggestions, if you are interested in the odds ratio, you can just use exp(): #Odds Ratio exp(fit4$coefficients) #Confidence interval around OR exp(confint(fit4)) To give you an idea graphically of the log odds (or logit) look at: p <- seq(0, 1, by = .001) plot

Re: [R] standard error of Binary logistic regression coefficient.

2010-07-27 Thread Achim Zeileis
Medicine jsor...@grecc.umaryland.edu -Original Message- From: Bessy To: Sent: 7/27/2010 11:40:33 AM Subject: [R] standard error of Binary logistic regression coefficient. Dear all, I am struggling with the calculation of standard error of the coefficient in Binary logistic regression

Re: [R] standard error of Binary logistic regression coefficient.

2010-07-27 Thread John Sorkin
Maryland School of Medicine Division of Gerontology and Geriatric Medicine jsor...@grecc.umaryland.edu -Original Message- From: Bessy To: Sent: 7/27/2010 11:40:33 AM Subject: [R] standard error of Binary logistic regression coefficient. Dear all, I am struggling with the calculation of

[R] standard error of Binary logistic regression coefficient.

2010-07-27 Thread Bessy
Dear all, I am struggling with the calculation of standard error of the coefficient in Binary logistic regression analysis. I built a binary logsitic regression model as follows and got confused since the calculation of standard error of coefficients of X1, X2 and X3 are not the same as the Line

Re: [R] Standard Error for individual patient survival with survfit and summary.survfit

2010-07-16 Thread Terry Therneau
> Can anyone tell me what is the difference between these two standard > errors and how should I interpret the confidence intervals and std.err > given these differences? help(survfit.object) will give you the answer. The std in the object is for the cumulative hazard, the printout uses a Taylor

[R] Standard Error for individual patient survival with survfit and summary.survfit

2010-07-15 Thread Charles M. Rowland
I am using the coxph, survfit and summary.survfit functions to calculate an estimate of predicted survival with confidence interval for future patients based on the survival distribution of an existing cohort of subjects. I am trying to understand the calculation and interpretation of the std.

Re: [R] Standard error of regression coefficient

2010-06-13 Thread Erik Iverson
Josh B wrote: Hi all, This should be a very simple question for you, whereas it is proving devilish for me. How do I output the STANDARD ERROR of the regression coefficient (i.e., the standard error of b) from a simple linear regression? The first 'See Also' in ?lm is for ?summary.lm, whic

[R] Standard error of regression coefficient

2010-06-13 Thread Josh B
Hi all, This should be a very simple question for you, whereas it is proving devilish for me. How do I output the STANDARD ERROR of the regression coefficient (i.e., the standard error of b) from a simple linear regression? Consider this data, taken directly from ?lm: ctl <- c(4.17,5.58,5.18,

[R] standard error for the estimated value (lmer fitted model)

2009-11-18 Thread willow1980
Dear R users, I want to draw standard error lines for the predicted regression line estimated by logistic regression using lmer. I have two predictors: cafr and its quadratic form I(cafr^2), where cafr is a variable centered around the mean of original variable. Now, the estimated value from the f

Re: [R] standard error associated with correlation coefficient

2009-08-30 Thread Sunil Suchindran
Here are some options for confidence intervals. #by hand sample_r <- .5 n_sample <- 100 df <- n_sample-1 fisher_z <- 0.5*(log(1+sample_r)-log(1-sample_r)) se_z <- 1/sqrt(n_sample-3) t_crit <- qt(.975,df ,lower.tail=TRUE) z_lci <- fisher_z - (t_crit * se_z) z_uci <- fisher_z + (t_crit * se_z) (r_l

[R] standard error associated with correlation coefficient

2009-08-27 Thread Donald Braman
I want the standard error associated with a correlation. I can calculate using cor & var, but am wondering if there are libraries that already provide this function. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list http

Re: [R] Standard error of Median in MASS library

2009-07-29 Thread Greg Snow
801.408.8111 > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- > project.org] On Behalf Of Lisa Wang > Sent: Wednesday, July 29, 2009 12:05 PM > To: r-help@r-project.org > Subject: [R] Standard error of Median in MASS library > >

[R] Standard error of Median in MASS library

2009-07-29 Thread Lisa Wang
Dear All, I wonder which function in MASS library calculates and output the standard error of median. Thank you in advance for your help Lisa Wang Biostatistics, Princess Margaret hospital, toronto, On __ R-help@r-project.org mailing list https://st

[R] standard error of median in MASS library

2009-07-29 Thread Lisa Wang
Hello all, I wonder which function in MASS library is calculating the standard error of median? thank you very much in advance, Lisa __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide htt

[R] standard error and p-value for the estimated parameter in AR model

2009-06-22 Thread FMH
Dear All, I used an  AR(1) model to explain the process of the stationary residual and have used an 'ar' command in R. From the results, i tried to extract the standard error and p-value for the estimated parameter, but unfortunately, i never find any way to extract  it from the output. What

Re: [R] standard error beta glm

2009-06-12 Thread Ian Fiske
Ricardo Arias Brito wrote: > > Dear All, > > Is posible calculate Std. Error for glm as lm, using > cov(hat beta) = phi * solve(t(X) %*% hat W %*% X)^-1 > on R? Who is hat W and phi output glm? > > y=rpois(20,4) > fit.glm <- glm(y ~ x, family=poisson > summary(fit.glm) > > Fitted to a model g

[R] standard error beta glm

2009-06-11 Thread Ricardo Arias Brito
Dear All, The std. error of the estimated coefficients obtained by the summary.lm function can be calculated as: y=rnorm(20) x=y+rnorm(20) fit <- lm(y ~ x) summary(fit) sqrt( sum(fit$resid**2)/fit$df.resid * solve(t(model.matrix(fit))%*%model.matrix(fit)) ) Is posible calculate Std. Error

Re: [R] standard error for median

2009-03-07 Thread Johannes Huesing
Ralph Scherer [Sat, Mar 07, 2009 at 10:34:28PM CET]: > Dear Prof. Ripley, > > thank you for your fast answer. > But which book do you mean? > I can't find an MASS book. Try library(MASS) citation(package="MASS") -- Johannes Hüsing There is something fascinating about science.

Re: [R] standard error for median

2009-03-07 Thread Ralph Scherer
Ok, found it. Thanks. Am Samstag, den 07.03.2009, 22:34 +0100 schrieb Ralph Scherer: > Dear Prof. Ripley, > > thank you for your fast answer. > But which book do you mean? > I can't find an MASS book. > Do you mean the R book? > > Best wishes, > Ralph > > > > Am Samstag, den 07.03.2009, 21:

Re: [R] standard error for median

2009-03-07 Thread Ralph Scherer
Dear Prof. Ripley, thank you for your fast answer. But which book do you mean? I can't find an MASS book. Do you mean the R book? Best wishes, Ralph Am Samstag, den 07.03.2009, 21:24 + schrieb Prof Brian Ripley: > It is an example (both via asymptotic theory and the bootstrap) in > chapt

Re: [R] standard error for median

2009-03-07 Thread Prof Brian Ripley
It is an example (both via asymptotic theory and the bootstrap) in chapter 5 of MASS (the book). The functions used are in the scripts of the MASS package, but you will need to understand the theory being used as described in the book. On Sat, 7 Mar 2009, Ralph Scherer wrote: Dear all, is

[R] standard error for median

2009-03-07 Thread Ralph Scherer
Dear all, is it possible to estimate a standard error for the median? And is there a function in R for this? I want to use it to describe a skewed distribution. Thanks in advance, Ralph [[alternative HTML version deleted]] __ R-help@r-project.

[R] standard error of logit parameters

2009-01-28 Thread Bomee Park
Hi everyone. I am now estimating the parameters for a logit model, and trying to get the estimates by laximizing the log_likelihood. The nlm function works nicely for maximizing the -(log_likelihood) and returns the parameter estimates that minimize the static, and the gradients also, but d

Re: [R] Standard error of mean for aov

2008-12-14 Thread JS . Augustyn
Thanks for all of your help, David, I finally got it. Here's some generic syntax in case it helps someone else down the road (using a 4-way ANOVA with repeated measures on all factors): # LOAD DATA data <- read.table("PATH\\datafile.txt") # RUN THE ANOVA data.aov <- aov(y ~ factor(x1)*factor(

Re: [R] Standard error of mean for aov

2008-12-13 Thread David Winsemius
On Dec 13, 2008, at 2:15 PM, js.augus...@gmail.com wrote: > Does not this give you what you need? > model.tables(rawfixtimedata.aov,"means", se=TRUE) I tried that, but get an error: SEs for type 'means' are not yet implemented I don't get that error. Using the example and this call model.ta

Re: [R] Standard error of mean for aov

2008-12-13 Thread JS . Augustyn
> Does not this give you what you need? > model.tables(rawfixtimedata.aov,"means", se=TRUE) I tried that, but get an error: SEs for type 'means' are not yet implemented Maybe I'm not using the correct terminology to describe what I need to do. Using the main effect of Marking as an example, I h

Re: [R] Standard error of mean for aov

2008-12-13 Thread David Winsemius
On Dec 13, 2008, at 11:37 AM, Jason Augustyn wrote: Hi David, thanks for the quick response. I did look at the help files for model.tables and se.contrast and neither seemed appropriate. I probably wasn't clear enough in my original email, so here's more information: I'm analyzing data f

Re: [R] Standard error of mean for aov

2008-12-13 Thread Jason Augustyn
Hi David, thanks for the quick response. I did look at the help files for model.tables and se.contrast and neither seemed appropriate. I probably wasn't clear enough in my original email, so here's more information: I'm analyzing data from a psychology experiment on how people allocate visual atten

Re: [R] Standard error of mean for aov

2008-12-13 Thread David Winsemius
On Dec 12, 2008, at 10:59 PM, js.augus...@gmail.com wrote: Hi all, I'm quite new to R and have a very basic question regarding how one gets the standard error of the mean for factor levels under aov. I was able to get the factor level means using: summary(print(model.tables(rawfixtimedat

[R] Standard error of mean for aov

2008-12-12 Thread JS . Augustyn
Hi all, I'm quite new to R and have a very basic question regarding how one gets the standard error of the mean for factor levels under aov. I was able to get the factor level means using: summary(print(model.tables(rawfixtimedata.aov,"means"),digits=3)), where rawfixtimedata.aov is my aov m

Re: [R] Standard error of combination of parameter estimates

2008-05-12 Thread Søren Højsgaard
You can use the esticon function in the doBy package. Regards Søren Fra: [EMAIL PROTECTED] på vegne af Mark Donoghoe Sendt: ma 12-05-2008 09:11 Til: r-help@r-project.org Emne: [R] Standard error of combination of parameter estimates Hi, Is there a simple

[R] Standard error of combination of parameter estimates

2008-05-12 Thread Mark Donoghoe
Hi, Is there a simple command for computing the standard error of a combination of parameter estimates in a GLM? For example: riskdata$age1 <- riskdata$age riskdata$age2 <- ifelse(riskdata$age<67,0,riskdata$age-67) model <- glm(death~age1+age2+ldl, data=riskdata,family=binomial(lin

Re: [R] Standard error values returned by lm()

2008-03-27 Thread Uwe Ligges
Type summary.lm and read the code. Best, Uwe Ligges Nick Chorley wrote: > Hi, > > This may be a stupid question, but how are the "std. error" values returned > by lm() calculated? For example > >> summary(lm) > > Call: > lm(formula = log10(moments[2, 1:10]) ~ log10(L_vals[1:10])) > > Residu

[R] Standard error values returned by lm()

2008-03-27 Thread Nick Chorley
Hi, This may be a stupid question, but how are the "std. error" values returned by lm() calculated? For example > summary(lm) Call: lm(formula = log10(moments[2, 1:10]) ~ log10(L_vals[1:10])) Residuals: Min 1Q Median 3QMax -0.0052534 -0.0019473 0.0006785 0.0