similar to: partially linear models

Displaying 20 results from an estimated 10000 matches similar to: "partially linear models"

2005 Oct 19
1
nlme Singularity in backsolve at level 0, block 1
Hi, I am hoping some one can help with this. I am using nlme to fit a random coefficients model. It ran for hours before returning Error: Singularity in backsolve at level 0, block 1 The model is > plavix.nlme<-nlme(PLX_NRX~loglike(PLX_NRX,PD4_42D,GAT_34D,VIS_42D,MSL_42D,SPE_ROL,XM2_DUM,THX_DUM,b0,b1,b2,b3,b4,b5,b6,b7,alpha), + data=data, + fixed=list(b0 +
2006 Jan 08
2
Filters in waveslim
Dear R Users, For running wavelet functions using dwt( ), modwt( ), and mra( ), a wavelet filter algorithm is applied. For all these functions, default is "la8" and other possibility is "haar". In related documents, another possibilities like as symlet and coiflet ... are not cited. Besides "la8" and "haar", which wavelet filters can be used? Thank
2005 Dec 13
5
getting faster results
Hey, Can anyone answer this question. I am working with really large datasets and most of the programs I have been running take quite some time. I heard that R may be faster in Unix. I sthis true and if so can anyone reccomend which system and requirements may allow things to go faster for? Thanks!! Elizabeth Lawson --------------------------------- [[alternative
2006 Feb 01
3
norm package prelim.norm
Hey eveyone! I hope someone can help wiht this question. I have a matirux of all zeros and ones and I would like to indentify all unique patterns in the rows andthe number of times the pattern occurs. I changed all zeros to NA tried to use prelim.norm to identify all patterns of missing data in the rows. I got the message Warning message: NAs introduced by coercion Any ideas of how
2005 Sep 30
3
.C help
Hi, I am hoping some one can help me. I am learning to use C and would like to learn how to call c code in R. I have look at Writing R Extensions and I tried to copy the example on page 38 void convolve(double *a, int *na, double *b, int *nb, double *ab) { int i, j, nab = *na + *nb - 1; for(i = 0; i < nab; i++) ab[i] = 0.0; for(i = 0; i < *na; i++) for(j = 0; j <
2009 Nov 18
1
bug in '...' of constrOptim (PR#14071)
Dear all, There appears to be a bug in how constrOptim handles ... arguments that are suppose to be passed to optim, according to the documentation. This means you can't get the hessian to be returned, for example (so this is a real problem, and not just a question of mistaken documentation). Looking at the code, it appears that a call to the user-defined f includes the ..., when the ...
2005 Oct 20
1
goodfit par estimates
Hey, Does anyone know if there is a way to get back from goodfit what it estimated the parameters to be? I used the code fit<-goodfit(round(data$PLX_NRX),type="nbinomial" and got a pretty good fit. I could not however duplicate this good fit with any parameter estimates that I had. Any ideas??? Thanks, Elizabeth Lawson ---------------------------------
2005 Dec 21
1
linking C and R
hey, I am running R 2.0.1 on a the terminal of my MAC OS X and I have written some C code that I would like to use dynload to bring into R. When I try to compile the code i get the error R.defines.h no such file or directory. I know that the file is in resources/include but where do I have to move the file to so that the compiler can access it? I tried copying Rdefines.h and R_ext folders
2009 Jul 02
1
Quantitative Risk Management by McNeil
Dear Specialists in R, May be somebody has experiment in using pakage for the book Quantitative Risk Management by McNeil? This package is writen in R. I have run this package for fitting the data to Nornal Inverse Gaussian distribution and fased with following problem. > Return<-read.csv("data.csv") > Transpose<-t(Return) > fit.NH(Transpose, case="NIG",
2006 Jun 09
1
glm with negative binomial family
I am analysing parasite egg count data and am having trouble with glm with a negative binomial family. In my first data set, 55% of the 3000 cases have a zero count, and the non-zero counts range from 94 to 145,781. Eventually, I want to run bic.glm, so I need to be able to use glm(family= neg.bin(theta)). But first I ran glm.nb to get an estimate of theta: > hook.nb<- glm.nb(fh,
2006 May 25
3
Wavelet Functions
Does R have any wavelet functions? When I type > help.search("wavelet") I get " No help files found with alias or concept or title matching 'wavelet' using fuzzy matching." Thanks, Peter.
2005 Dec 01
1
Simulate Correlated data from complex sample
Dear List: I have created some code to simulate data from a complex sample where 5000 students are nested in 50 schools. My code returns a dataframe with a variable representing student achievement at a single time point. My actual code for creating this is below. What I would like to do is generate a second column of data that is correlated with the first at .8 and has the same means within
2006 Mar 21
1
computing the average response by nlme
Dear All, let E(Y | t, b, theta) be the conditional expectation of Y where b is a vector of random effects , theta is a vector of fixed effects and t is the time of observation (t =1,2, ...,n). I wonder if nlme has a function to compue E(Y | t, theta). I know that it can be done by approximating the integrals over b of E(Y | t, b, theta). But I am wondering if nlme has a function
2009 Jun 19
1
using garchFit() to fit ARMA+GARCH model with exogeneous variables
Hello - Here's what I'm trying to do. I want to fit a time series y with ARMA(1,1) + GARCH(1,1), there are also an exogeneous variable x which I wish to include, so the whole equation looks like: y_t - \phi y_{t-1} = \sigma_t \epsilon_t + \theta \sigma_{t-1} \epsilon_{t-1} + c x_t where \epsilon_t are i.i.d. random variables \sigma_t^2 = omega + \alpha \sigma_{t-1}^2 + \beta
2005 Dec 14
1
Kalman Filter Forecast using 'SSPIR'
Dear R Users, I am new to state-space modeling. I am using SSPIR package for Kalman Filter. I have a data set containing one dependent variable and 7 independent variables with 250 data points. I want to use Kalman Filter for forecast the future values of the dependent variable using a multiple regression framework. I have used ssm function to produce the state space (SS)
2007 Nov 18
2
Getting theta in italic in a plot
Dear All, Consider the following code: plot(0,0) text(0,0.5,expression(italic(theta))) I would like to get theta in italic, but I always get it upright. Any suggestions? Thanks in advance, Paul
2002 Oct 07
1
any WINEDLLPATH caveats I should know about?
Hi, I am attempting to run the libiconv test-suite using wine and one of the problems I am having is that the executables are not able to find the DLL, even when setting WINEDLLPATH, as in: WINEDLLPATH=../lib/.libs wine .libs/table-to Am I doing something wrong? Thank you, Elizabeth
2006 Mar 01
1
a strange problem with integrate()
Dear all, I am stuck on the following problem with integrate(). I have been out of luck using RSiteSearch().. My function is g2<-function(b,theta,xi,yi,sigma2){ xi<-cbind(1,xi) eta<-drop(xi%*%theta) num<-exp((eta + rep(b,length(eta)))*yi) den<- 1 + exp(eta + rep(b,length(eta))) result=(num/den)*exp((-b^2)/sigma2)/sqrt(2*pi*sigma2)
2007 Jul 19
5
ridiculous slow gigabit transfer, faster with VNC
Hi, I have a problem with file transfers between a windows systems and unix systems. I have one win32 desktop (intel e6400 2Gb Ram), one win32 laptop (p-m 2Ghz). Also one linux laptop (p-m 1.4GHz) and one opensolaris desktop (intel e4400 1GB Ram). The two laptops have built-in 100Mbit ethernet and desktops have 1Gbit ethernet on the motherboard. Both desktops use a Marvell Yukon. The file
2005 Dec 28
1
segmetation fault
Hey, I don;t know if anyone has come across this error before... I am running R on the terminal of my MAC OS X 10.3.4 and I have written C code and compiled it using R CMD SHLIB mycode.c There were no problems in compiling so I now have mycode.o and mycode.so. I used dyn.load("mycode.so") and again, no problems. But when I try to use the code .C("mycode",x)