search for: pagan

Displaying 20 results from an estimated 35 matches for "pagan".

Did you mean: kagan
2009 Oct 16
1
Breusch-pagan and white test - check homoscedasticity
Hi r-programmers, I performe Breusch-Pagan tests (bptest in package lmtest) to check the homoscedasticity of the residuals from a linear model and I carry out carry out White's test via bptest (formula, ~ x * z + I(x^2) + I(z^2)) include all regressors and the squares/cross-products in the auxiliary regression. But what can I do if I w...
2005 Jun 04
1
the test result is quite different,why?
data:http://fmwww.bc.edu/ec-p/data/wooldridge/CRIME4.dta > a$call lm(formula = clcrmrte ~ factor(year) + clprbarr + clprbcon + clprbpri + clavgsen + clpolpc, data = cri) > bptest(a,st=F) Breusch-Pagan test data: a BP = 34.4936, df = 10, p-value = 0.0001523 > bptest(a,st=T) studentized Breusch-Pagan test data: a BP = 10.9297, df = 10, p-value = 0.363 > ncv.test(a) $formula ~fitted.values $formula.name [1] "Variance" $ChiSquare [1] 1.163501 $Df [1] 1 $p [1] 0.2...
2014 Sep 05
1
FW: Dell basic Server SR# 898596786 SVTG: 3CJM1P1 <<#2039741-9051508#>>
...443) 269-1555 x333 Baltimore, Maryland 21218 - - - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- This message is copyright PD Inc, subject to license 20080407P00. -----Original Message----- From: Emmanuel Pagan Gonzalez [mailto:US_BasicServer_Team1 at dell.com] Sent: Friday, September 05, 2014 13:49 To: jpyeron at pdinc.us Subject: RE: Dell basic Server SR# 898596786 SVTG: 3CJM1P1 <<#2039741-9051508#>> <http://www.dell.com/support/my-support/us/en/19> Enterprise Servi...
2012 Sep 18
1
Contradictory results between different heteroskedasticity tests
...stant Variance Score Test Variance formula: ~ fitted.values Chisquare = 46.88206 Df = 1 p = 7.538963e-12 > ncvTest(glslm) Non-constant Variance Score Test Variance formula: ~ fitted.values Chisquare = 0.001466426 Df = 1 p = 0.9694533 > bptest(olslm) studentized Breusch-Pagan test data: olslm BP = 213.1477, df = 7, p-value < 2.2e-16 > bptest(glslm) studentized Breusch-Pagan test data: glslm BP = 213.1477, df = 7, p-value < 2.2e-16 Please notice the last output. It seems as if bptest is not considering the weights given to lm. What am I doing wrong h...
2009 Sep 18
1
some irritation with heteroskedasticity testing
...nd non-studentized), gqtest, ncv.test with the following results: ncv: Non-constant Variance Score Test Variance formula: ~ fitted.values Chisquare = 13.87429 Df = 1 p = 0.00194580 Goldfeld-Quandt test data: reg GQ = 1.7092, df1 = 327, df2 = 327, p-value = 7.93e-07 studentized Breusch-Pagan test data: reg BP = 15.8291, df = 23, p-value = 0.92 Breusch-Pagan test data: reg BP = 377.5604, df = 23, p-value < 2.8e-18 bptest and gq.test sport pretty straight forward examples saying the H0 = homoskedasticity. The ncv.test clarifies the same in its description. Thus the studentiz...
2004 Jul 21
2
Testing autocorrelation & heteroskedasticity of residuals in ts
Hi, I'm dealing with time series. I usually use stl() to estimate trend, stagionality and residuals. I test for normality of residuals using shapiro.test(), but I can't test for autocorrelation and heteroskedasticity. Is there a way to perform Durbin-Watson test and Breusch-Pagan test (or other simalar tests) for time series? I find dwtest() and bptest() in the package lmtest, but it requieres an lm object, while I've a ts object. Any help will be appreciated. Best Vito ===== Diventare costruttori di soluzioni Visitate il portale http://www.modugno.it/ e in particolar...
2001 Dec 01
2
Nothing more than solitaire...
...that will make any difference or not. It's a very font-specific program, since it uses custom fonts to display all the funky charactersin the pronunciation guides. IOW wine has not impressed me as a viable alternative to continuing to dual boot. -- Michael McIntyre zone 6b in SW VA Silvan Pagan Dragon -=[UDIC]=- rm -Rf /mnt/windows/windows www.geocities.com/Paris/Rue/5407/index.html
2004 Jan 13
3
How can I test if a not independently and not identically distributed time series residuals' are uncorrelated ?
..."2003-11-03", quote="Close") merv <- na.remove(log(Argentina)) I made the Augmented Dickey-Fuller test to analyse if merv have unit root: adf.test(merv,k=13) Dickey-Fuller = -1.4645, p-value = 0.805, merv have unit root than diff(merv,1) is stationary. Than I made Breushch-Pagan test to test if residuals are identically distributed: library(lmtest) bptest(merv[2:1730]~-1+merv[1:1729],~merv[1:1729]+I(merv[1:1729])^2) BP = 81.3443, df = 2, p-value = < 2.2e-16 So merv.reg$resid aren't identically distributed. Than merv is heteroscedastik. Finally I made Box-Ljung tes...
2011 Jan 20
2
Regression Testing
...in a csv file that I load and store in a dataframe. > ds <- read.csv("book2.csv") > df <- data.frame(ds) I then preform a OLS regression: > lmfit <- lm(df$y~df$x) To test for Heteroskedasticity, I run the BPtest: > bptest(lmfit) studentized Breusch-Pagan test data: lmfit BP = 11.6768, df = 1, p-value = 0.0006329 From the above, if I'm interpreting this correctly, there is Heteroskedasticity present. To correct for this, I need to calculate robust error terms. From my reading on this list, it seems like I need to vcovHC. > vcovHC(l...
2010 Sep 24
3
bptest
...o R but have plenty of experience with statistics and other packages like SPSS, SAS etc. I have a dataset of around 20 columns and 200 rows. I'm trying to fit a very simple linear model between two variables. Having done so, I want to test the model for heteroscedasticity using the Breusch-Pagan test. Apparently this is easy in R by simply doing bptest(modelCH, data=KP) I've tried this but I'm told it cannot find function bptest. It's here where I'm struggling. I'm probably wrong but as far as I can see, bptest is part of the lm package which, as far as I know,...
2004 Jan 14
3
How can I test if time series residuals' are uncorrelated ?
...dual) X-squared = 1772.369, df = 2, p-value = < 2.2e-16 And I reject the null hypotesis (H0: merv.reg$residual are normally distributed) So I know that: 1 - merv.reg$residual aren't independently distributed (Box-Ljung test) 2 - merv.reg$residual aren't indentically distributed (Breusch-Pagan test) 3 - merv.reg$residual aren't normally distributed (Jarque-Bera test) My questions is: It is possible merv.reg$residual be uncorrelated ? cov[residual_t, residual_(t+k)] = 0 ? Even when residuals are not independent distributed ! (and we know that they aren't normally distributed a...
2004 Nov 29
3
systemfit - SUR
...l for "systemfit" on page 14 I see however, that the variance-covariance matrix for SUR is obtained from OLS. How can this be explained? 2) Is there an easy possibility to test a) the OLS equations, and b) the SUR system for SUR structures? In other words: Is the LM-Test from Breusch and Pagan available in R? Thanks for the attention! Best Regards, Thomas Almer
2012 Oct 13
2
White test
Hello, Is there a way to perform a White test (testing heteroscedasticity) under R? Best regards, Afrae Hassouni
2010 Aug 19
1
Ayuda en mineria de datos
Saludos Cordiales Soy de Ecuador y me he enterado de este foro de R y me parece muy chevere (Interesante) poder compartir los conocimientos y más que todo solicitar algunos tips sobre este paquete que en el Ecuador es un software nuevo y que está tomando fuerza.   Les comento que estoy tratando de desarrollar un modelo para la detección de lavado de dinero y de las múltiples documentos, indican
2006 Sep 29
6
List-manipulation
Hi, Sorry for the question, I know it should be basic knowledge but I'm struggling for two hours now. How do I select only the first entry of each list member and ignore the rest? So for > $"121_at" > -113691170 > $"1255_g_at" > 42231151 > $"1316_at" > 35472685 35472588 > $"1320_at" > -88003869
2016 Apr 04
1
Test for Homoscedesticity in R Without BP Test
...hite test is based on the comparison of the estimated variances of > residuals when the model is estimated by OLS under the assumption of > homoscedasticity and when the model is estimated by OLS under the > assumption of heteroscedastic. The White test is a special case of the Breusch-Pagan test using a particular specification of the auxiliary regressors: namely all regressors, their squares and their cross-products. As this specification makes only sense if all regressors are continuous, many implementations have problems if there are already dummy variables, interactions, etc....
2016 Apr 04
4
Test for Homoscedesticity in R Without BP Test
Respected Sir, I am doing a project on multiple linear model fitting and in that project I have to test Homoscedesticity of errors I have google for the same and found bptest for the same but in R version 3.2.4 bp test is not available. So please suggest me a test on homoscedesticity ASAP as we have to submit our report on 7-04-2016. P.S. : I have plotted residuals against fitted values and it is
2012 May 25
1
Problem with Autocorrelation and GLS Regression
...esn 0.0363940 0.0706150 0.515 0.607 Residual standard error: 0.008016 on 123 degrees of freedom Multiple R-squared: 0.002155, Adjusted R-squared: -0.005958 F-statistic: 0.2656 on 1 and 123 DF, p-value: 0.6072 / I did several tests for assessing the quality of the estimation (like breusch-pagan, breusch-godfrey, chow-breakpoint, arch lm tests). The model has now clearly a problem with autocorrelation as you can see in de images below: http://r.789695.n4.nabble.com/file/n4631336/resid_resn.png http://r.789695.n4.nabble.com/file/n4631336/pacf_resid_resn.png To take into account the probl...
2004 Jan 14
0
How can I test if a not independently and not identicallydistributed time series residuals' are uncorrelated ?
..."2003-11-03", quote="Close") merv <- na.remove(log(Argentina)) I made the Augmented Dickey-Fuller test to analyse if merv have unit root: adf.test(merv,k=13) Dickey-Fuller = -1.4645, p-value = 0.805, merv have unit root than diff(merv,1) is stationary. Than I made Breushch-Pagan test to test if residuals are identically distributed: library(lmtest) bptest(merv[2:1730]~-1+merv[1:1729],~merv[1:1729]+I(merv[1:1729])^2) BP = 81.3443, df = 2, p-value = < 2.2e-16 So merv.reg$resid aren't identically distributed. Than merv is heteroscedastik. Finally I made Box-Ljung tes...
2006 May 10
2
command completion?
Does R have command or object name completion? R has several functions of modern shells built into it e.g. history mechanism, command-line editing, emacs key bindings. However, it doesn't seem to have command or object name completion. For example, in bash I can begin typing a command and then press the tab key to have the shell fill in the rest of the command (works for environment