Displaying 20 results from an estimated 2000 matches similar to: "simulating data from a multivariate dist"
2010 Jun 16
1
generating samples from multivariate distributions
Sir,
I want to draw random from any multivariate disrtibution. Is there any
function in R to do this?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Jun 18
2
double integral
Sir,
I want to calculate double integral in R. Is there any function to do this?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 May 31
1
getting the column name of a data frame
Sir,
I want to store the column name of a data frame as a vector and use the
vector to remove a column of the data frame ,if required.
Thanks,
Suman Dhara
[[alternative HTML version deleted]]
2010 Jun 06
2
fitting multinomial logistic regression
Sir,
I want to fit a multinomial logistic regression in R.I think mlogit() is the
function for doing this. mlogit () is in packege globaltest.But, I can not
install this package. I use the following:
install.packages("globaltest")
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Jun 04
1
parttioning a matrix corresponding to different levels of y
Sir,
I have a problem regarding partitioning a matrix.I state my problem as
follows:
I have a y vector of length say 1000.Variable y has 4 levels say
0,1,2.Corresponding to each y(response), I have a x-vector(explanatory) as a
row of X matrix.Now, I want to partition the X matrix into 3 submatrices say
x1,x2,x3 corresponding to each level of y.Is there any function to do this
in R or how can I
2010 Jun 10
1
To give column names of a data-frame
Sir,
I want to export the results of R in a data frame. So I want to give
rownames,columnnames & title to the data-frame.I have applied the following:
data.frame(matrix(c(...),nrow=,ncol=),row.names=c("a","b"),col.names=c("c","d"),title="aaa")
But, it does not work.
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version
2010 Jun 05
1
Prediction in discriminant analysis
Sir,
I am working with multiclass discriminant analysis.(say response variable
has 3classes).In R, using lda(), I get 2 sets of coefficients for the
discriminant function.Now, I want to put a new x-vector(vector of
independent variables) and want to check it corresponds to which class of
y.Is there any formula for doing this? or how can I do this?
Regards,
Suman Dhara
[[alternative HTML
2010 Jun 10
2
drawing curve
Sir,
I have a problem regarding drawing curve.I pose the problem as follows:
suppose I have two vectors:
x<-c(1:6)
y<-c(.01,.09,.08,.03,.001,.02)
plot(x,y)
It gives me the plotted points.But I want to draw a smooth curve passing
througt these points.
How can I do this?
Thanks & Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Jun 25
2
installing multicore package
Sir,
I want to apply mclapply() function for my analysis. So, I have to install
multicore package. But I can not install the package.
>install.packages("multicore")
It gives that package multicore is not available.
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Aug 15
1
Moving average in R
Hi,
I want to fit moving average trend in R. In google, I see that it is in the
package 'TTR'. But, I can't install this package. I have used the following
code:
>install.packages("TTR")
But, it says there is no package called 'TTR'.
Can you help me?
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 May 31
1
Removing columns from data frame referenced by column index
Can you suggest me any way to remove a column of a data frame by the column
number,not by the column name.
Thanks,
Suman Dhara
[[alternative HTML version deleted]]
2010 Jun 16
1
Exporting multiple plots
Sir,
I want to export 10, say graphs using 'for' loop. What will be the command
and format for exporting multiple plots.
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Jun 23
1
calculating using user provided function
Sir,
I'm writing a program in R that requires the user to provide a funtion. On
the basis of the user provided function the program will proceed further and
give results. Is there any technique in R that allow a user to give his own
function and on the basis of that function the program will work.
Regards,
Suman Dhara
[[alternative HTML version deleted]]
2010 Sep 21
2
Need help for EM algorithm ASAP !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I created a EM algorithm for Generalized hyperbolic distribution.
I want to estimate mutheldaplus, sigmatheldaplus, betasigmaplus in my code.
After getting use these value , then my iteration have to be begin of this code.
But I can not to do iteration part.
Can you help me use my code and get iteration ?
Do know any useful code for EM algorithm for Generalized Hyperbolic
library(QRMlib)
2011 Dec 17
2
Problem with reproducing log likelihood estimated with ghyp package
I was playing around with the ghyp package and simulated series of
t-distributed variables when suddenly i was not able to reproduce the log
likelihood values reported by the package. When trying to reproduce the
likelihood values, I summed the log(dt(x,v)) values and it worked with some
simulated series but not all.
Is there any obvious flaws with this script?
library("ghyp")
2012 Jul 26
1
gamma distribution in rugarch package
Hi guys,
does anyone know if there is the possibility to fit a gamma distribution
using ugarch?honestly i don't know if maybe is possible to fix some
parameters that reduce ghyp or ged in a gamma distribution..
thanks a lot
sara
--
View this message in context: http://r.789695.n4.nabble.com/gamma-distribution-in-rugarch-package-tp4637893.html
Sent from the R help mailing list archive at
2011 May 06
1
Generalized Hyperbolic distribution
How to use the package generalized hyperbolic distribution in order to
estimate the four parameters in the NIG-distribution? I have a data material
with stock returns that I want to fit the parameters to.
--
View this message in context: http://r.789695.n4.nabble.com/Generalized-Hyperbolic-distribution-tp3504369p3504369.html
Sent from the R help mailing list archive at Nabble.com.
2008 Mar 12
3
Types of quadrature
Dear R-users
I would like to integrate something like \int_k^\infty (1 - F(x)) dx, where F(.) is a cumulative distribution function. As mentioned in the "integrate" help-page: integrate(dnorm,0,20000) ## fails on many systems. This does not happen for an adaptive Simpson or Lobatto quadrature (cf. Matlab). Even though I am hardly familiar with numerical integration the implementation
2002 Mar 01
2
step, leaps, lasso, LSE or what?
Hi,
I am trying to understand the alternative methods that are available for
selecting
variables in a regression without simply imposing my own bias (having "good
judgement"). The methods implimented in leaps and step and stepAIC seem to
fall into the general class of stepwise procedures. But these are commonly
condemmed for inducing overfitting.
In Hastie, Tibshirani and Friedman
2008 Aug 20
4
Conversion - lowercase to Uppercase letters
I would like to know how to convert a string with characters to all
uppercase or all lowercase? If anyone could let me know if there exists a
function in R for the conversion, that will be very helpful.
Regards,
Suman
[[alternative HTML version deleted]]