Re: [R] How to control the skewness of a heteroscedastic variable?- The solution

2009-12-13 Thread Karl-Oskar Lindgren
Just to make sure that you don't spend your valuable time on the problem that I posted earlier today, I want to let you know that I have found my mistake. I simply forgot to take account of the higher order dependence bw my independent variable and the squared error term. Regards Karl-Oskar _

Re: [R] How to control the skewness of a heteroscedastic variable? - A Correction

2009-12-13 Thread Karl-Oskar Lindgren
When going through my earlier post I find a mistake in the example that I provided. The correct version is provided below. I also start to suspect that my problem is that although the cumulant of a sum of independent variable is the sum of the cumulants, the moments of a sum is not the sum of t

[R] How to control the skewness of a heteroscedastic variable?

2009-12-13 Thread Karl-Oskar Lindgren
lations by varying the skew of e. Is that possible to do, and if so, how would that best be implemented in R? The code below provides an illustration of my problem in case my verbal explanation was difficult to follow. Regards, Karl-Oskar Lindgren Researcher Department of Government Uppsala Univer