search for: heteroscedasticity

Displaying 20 results from an estimated 138 matches for "heteroscedasticity".

2017 Aug 16
4
{nlme} Question about modeling Level two heteroscedasticity in HLM
Hello dear uesRs, I am working on modeling both level one and level two heteroscedasticity in HLM. In my model, both error variance and variance of random intercept / random slope are affected by some level two variables. I found that nlme is able to model heteroscedasticity. I learned how to use it for level one heteroscedasticity but don't know how to use it to model the l...
2008 Sep 04
2
Correct for heteroscedasticity using car package
Dear all, Sorry if this is too obvious. I am trying to fit my multiple regression model using lm() Before starting model simplification using step() I checked whether the model presented heteroscedasticity with ncv.test() from the CAR package. It presents it. I want to correct for it, I used hccm() from the CAR package as well and got the Heteroscedasticity-Corrected Covariance Matrix. I am not sure what am I supposed to do with the matrix. I guess I should run my model again telling it to use that...
2017 Aug 16
0
{nlme} Question about modeling Level two heteroscedasticity in HLM
...indicates that the R-sig-ME mailing list is where this question would have been on-topic. -- Sent from my phone. Please excuse my brevity. On August 16, 2017 6:17:03 AM PDT, b88207001 at ntu.edu.tw wrote: >Hello dear uesRs, > >I am working on modeling both level one and level two >heteroscedasticity in HLM. In my model, both error variance and >variance of random intercept / random slope are affected by some level > >two variables. > >I found that nlme is able to model heteroscedasticity. I learned how >to use it for level one heteroscedasticity but don't know how to...
2017 Aug 16
0
{nlme} Question about modeling Level two heteroscedasticity in HLM
...people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Aug 16, 2017 at 6:17 AM, <b88207001 at ntu.edu.tw> wrote: > Hello dear uesRs, > > I am working on modeling both level one and level two heteroscedasticity in > HLM. In my model, both error variance and variance of random intercept / > random slope are affected by some level two variables. > > I found that nlme is able to model heteroscedasticity. I learned how to use > it for level one heteroscedasticity but don't know how to use i...
2016 Apr 15
1
Heteroscedasticity in a percent-cover dataset
...all, temperature and sunshine hours. M2=glmer(SG~AC+EC+TP+SS+RF+(1|Location/fSi/fTr), family=binomial,data=data,nAGQ=1) As the dependent variable is percent cover, I used a binomial error structure. I also have a random effect due to nested of the data collection strategy. However, I keep getting heteroscedasticity issues as shown in the image below. I have tried using an arcsine transformation (with a lme), but the scatter of residuals are still very much similar. What else can I do to try to resolve the heteroscedasticity in my data? Any help will be very much appreciated! <http://r.789695.n4.nabble.c...
2006 Feb 21
3
How to get around heteroscedasticity with non-linear leas t squares in R?
Your understanding isn't similar to mine. Mine says robust/resistant methods are for data with heavy tails, not heteroscedasticity. The common ways to approach heteroscedasticity are transformation and weighting. The first is easy and usually quite effective for dose-response data. The second is not much harder. Both can be done in R with nls(). Andy From: Quin Wills > > I am using "nls" to fit dose-resp...
2009 Feb 10
2
Help regarding White's Heteroscedasticity Correction
Hi I am actually running the White test for correcting Heteroscedasticity. I used sandwich() & car(), however the output shows the updated t test of coefficients, with revised Standard Errors, however the estimates remained same. My problem is that the residuals formed a pattern in the original regression equation. After running the White's test, I got some ne...
2006 Aug 31
0
Moving Window regressions with corrections for Heteroscedasticity and Autocorrelations(HAC)
# Using Moving/Rolling Windows, here we do an OLS Regression with corrections for #Heteroscedasticity and Autocorrelations (HAC) using Newey West Method. This code is a #extension of Ajay Shah?s code for moving windows simple OLS regression. # The easiest way to adjust for Autocorrelations and Heteroscedasticity in the OLS residuals is to #use the coeftest function that is included in the ?lmtest...
2007 Jun 10
1
{nlme} Multilevel estimation heteroscedasticity
Dear All, I'm trying to model heteroscedasticity using a multilevel model. To do so, I make use of the nlme package and the weigths-parameter. Let's say that I hypothesize that the exam score of students (normexam) is influenced by their score on a standardized LR test (standLRT). Students are of course nested in "schools"....
2011 Jul 08
1
How to generate heteroscedastic random numbers?
Hello, I have tried to generate numbers randomly which follow normal, Student-t and skewed Student-t distributions. However, when I check those series for heteroscedastisity test (ARCH) results are showing that there is no heteroscedastisity. As we all know, returns (financial returns) usually have heteroscedastisity. My question is, is it possible somehow generate random numbers which have
2006 Jan 14
1
lmer and handling heteroscedasticity
Dear altogether, is it possible to integrate "weights" arguments within lmer to incorporate statements to handle heteroscedasticity as it is possible with lme? I searched the R-archive but found nothing, insofer I assume it is not possible, but as lmer is under heavy develpoment, maybe something changed or is solved differently. Thus my question: While encountering heavy heteroscedasticity within data, lmer is not the rig...
2006 Jul 26
2
Codes; White's heteroscedasticity test and GARCH models
Hello, I have just recently started using R and was wondering whether anybody had a code written for White's heteroscedasticity correction for standard errors. Also, can anybody share a code for the GARCH(1,1) and GARCH-in-mean models for modelling regression residuals? Thanks a lot in advance, Spyros --------------------------------- [[alternative HTML version deleted]]
2008 Jul 22
1
How to simulate heteroscedasticity (correlation)
...at funktion for doing that: a <- rmvnorm(n=10000,mean=c(20,20),sigma=matrix(c(5,0.8*sqrt(50), 0.8*sqrt(50),10),2,2)) (using library(mvtnorm)) Now I also want to generate two correlated variables where the error variance vary over the variable-correlation. And I want to plot this for showing heteroscedasticity. Like shown here: http://upload.wikimedia.org/wikipedia/de/1/1b/Heteroske2.png Is that possible with R?
2012 Oct 07
1
Testing volatility cluster (heteroscedasticity) in stock return?
Dear All, i want to use garch model in return of stock. and the data should presence volatility cluster (Heteroscedasticity). Do you know how to test volatility cluster (the presence of heteroscedasticity) in series data of stock return in R? Is it using Langrange Multiplier (LM) ARCH test? what package i should use? I really need the help. Thanks for the attention. Eko A P
2013 Feb 06
1
Heteroscedasticity Plots
To detect heteroscedasticity for a multiple linear OLS regression (no time dependencies): What if the residuals vs. fitted values plot shows well behaved residuals (cloud) - but the some of the x versus residuals plots are a megaphone? Also, it seems that textbooks and internet tutorials in R do not agree what is the best...
2009 Dec 13
0
How to control the skewness of a heteroscedastic variable?
...elp in either case. I'm currently working on a MC-simulation in which I would like to control the skewness of a heteroscedastic dependent variable defined as: y=d*z+sqrt(.5+.5*x^2)*e (eq.1) where d is a parameter and, z, x, and e are gamma r.vs. The variables x (the one creating the heteroscedasticity) and z are assumed to be positively correlated. I thought that since the two terms on the rhs of eq.1 are uncorrelated the 3rd central moment of y should equal the sum of the 3rd central moments of the two terms on the rhs. This seems to be correct as long as x and z in eq1 are uncorrelated....
2010 Jun 09
1
dealing with heteroscedasticity in lmer: problem with the method weights
...Q2,random=~1|Group,data=file,na.action=na.omit, method="ML", weights=varExp(form=~Q1)) I saw on the forum that lmer had problems in taking into account variance heterogeneity. Yet, the messages were old and there are maybe new solutions. How can I correct the analyses for this problem of heteroscedasticity? Should I normalise the within group variance before implementing the model? And deal with the variance (as a new variable to explain) in another model? Is there another way to solve this problem? Thank you in advance for your help Doris Gomez [[alternative HTML version deleted]]
2002 Dec 09
1
heteroscedasticity analysis
Hello, First, sorry for my poor english, I will try to be understood. It's the first time I try this "r-help mailing list" and I hope it will be a success. I am working on heteroscedasticity analysis. I would like to get the "Box-Ljung" and the "Lagrange multipliers" test. I found the first one in the library "ts", but I can't find the second one. Does anybody know how this test can be called. Vincent Spiesser
2013 Apr 18
1
Statistical test for heteroscedasticity for an object of class "gls"
Hi there, Does anyone know of a statistical test for heteroscedasticity for an object of class "gls"? (or alternative objective methods). Thanks in advance, Ben Gillespie, Research Postgraduate o-------------------------------------------------------------------o School of Geography, University of Leeds, Leeds, LS2 9JT o-------------------------------o http...
2006 Oct 23
1
Lmer, heteroscedasticity and permutation, need help please
Hi everybody, I'm trying to analyse a set of data with a non-normal response, 2 fixed effects and 1 nested random effect with strong heteroscedasticity in the model. I planned to use the function lmer : lmer(resp~var1*var2 + (1|rand)) and then use permutations based on the t-statistic given by lmer to get p-values. 1/ Is it a correct way to obtain p-values for my variables ? (see below) 2/ I read somewhere that lme is more adequate when hete...