Displaying 20 results from an estimated 150 matches similar to: "Failing to install the rgl package"
2006 Feb 02
4
How to force a vector to be column or row vector?
Hi all,
I tended to use rbind, or cbind to force a vector be be deemed as a column
or row vector. This is very important if I want to do things like u' * A *
u, where u' is a row vector and u is a column vector, regardless of what
originall format the "u" is... I want to recast it to column vector or row
vector... How can I do that?
2005 Feb 10
2
testing slopes different than a given value
In a multiple linear regression with two independent
variables is there any function in R to test for the
coefficients being different than some given values?
Example:
x1<-rnorm(100)
x2<-rnorm(100)
y<-3+0.6*x1+0.3*x2
lm(y~x1+x2)
Obtain a test for the coefficients for x1 being
different than 0.6 and for x2 different than 0.3
Thanks
Manuel
2009 Jul 30
0
Constrained MLE of fixed mean Singh-Maddala distribution
INTRODUCTION TO THE PROBLEM
I am trying to fit a distribution to a dataset. The distribution that I
am currently considering is the (3-parameter) Singh-Maddala (Burr)
distribution. The final model will fix the mean of the distribution to a
given value and estimate the remaining parameters accordingly; however,
the code provided below ignores this. For this distribution the three
parameters
2009 Jul 31
0
MLE estimation of constrained mean Singh-Maddala distribution
INTRODUCTION TO THE PROBLEM
I am trying to fit a distribution to a dataset. The distribution that I
am currently considering is the (3-parameter) Singh-Maddala (Burr)
distribution. The final model will fix the mean of the distribution to a
given value and estimate the remaining parameters accordingly; however,
the code provided below ignores this. For this distribution the three
parameters
2007 Oct 17
1
y_hat
Hello,
suppose one has the following values
x1 <- rnorm(10,5,1)
x2 <- rgamma(10,5,1)
y <- rnorm(10,4,1)
mydat <- data.frame(y,x1,x2)
then one can use glm like
mod <- glm(y~x1+x2, data=mydat, family=gaussian)
But how could I estimate y_hat?
Thanks alot!
Sam
---------------------------------
[[alternative HTML version deleted]]
2009 Feb 19
1
matrix computation???
Hello
Can anyone tell me what I am doing wrong below? My Y and y_hat are the same.
A<-scale(stackloss)
n1<- dim(A)[1];n2<-dim(A)[2]
X<-svd(A)
Y<- matrix(A[,"stack.loss"],nrow=n1)
Y
y_hat <-matrix((X$u%*% t(X$u))%*%Y,nrow=n1,byrow=T)
y_hat
[[alternative HTML version deleted]]
2010 Jun 23
1
Estimate of variance and prediction for multiple linear regression
Hi, everyone,
Night. I have three questions about multiple linear regression in R.
Q1:
y=rnorm(10,mean=5)
x1=rnorm(10,mean=2)
x2=rnorm(10)
lin=lm(y~x1+x2)
summary(lin)
## In the summary, 'Residual standard error: 1.017 on 7 degrees of freedom',
1.017 is the estimate of the constance variance?
Q2:
beta0=lin$coefficients[1]
beta1=lin$coefficients[2]
beta2=lin$coefficients[3]
2006 Jul 11
1
test regression against given slope for reduced major axis regression (RMA)
Hi,
for testing if the slope of experimental data differs from a
given slope I'm using the function
"test_regression_against_slope" (see below).
I am now confronted with the problem that I have data which
requires a modelII regression (also called reduced major axes
regression (RMA) or geometric mean regression). For this I use
the function "modelII" (see below).
What
2010 Mar 25
1
Manually calculate SVM
Hi,
I'm learning more about SVMs and kernels in general. I've gotten used
to using the svm function in the e1071 package. It works great.
Now, I want to do/learn some more interesting stuff. (Perhaps my own
kernel and/or scoring system). So I want to better understand
1) how calculation of the kernel happens.
2) how to calculate the predicted value (y_hat) given a list of support
2005 Dec 05
1
Help
Hi R-Users,
I apologize if it is too simple question for all. I have a multivariate
dataset having 7 variables as independent and 1 dependent variable. 248
data points are there. I want to do out sample forecast first
considering 156 points. So I'll have to start from 157th point and
calculate the 157th y_hat value. In this way it will go to 248th data
point. Can any one tell me how I can
2013 Apr 30
0
Extrafont package: Fonts are not successfully installed
Hi,
I am using Extrafont package to install more fonts for my graphs. My
primary graphic tool is ggplot2. I seem to have problem installing the
package, but could not pinpoint where it is.
I try to follow the instruction here:
https://github.com/wch/extrafont
I guess (but am not sure) the fonts are successfully installed.
Problem encountered:
1. The following line sometimes yields an
2005 Jul 20
1
predict.lm - standard error of predicted means?
Simple question.
For a simple linear regression, I obtained the "standard error of
predicted means", for both a confidence and prediction interval:
x<-1:15
y<-x + rnorm(n=15)
model<-lm(y~x)
predict.lm(model,newdata=data.frame(x=c(10,20)),se.fit=T,interval="confidence")$se.fit
1 2
0.2708064 0.7254615
2006 Jan 10
2
Obtaining the adjusted r-square given the regression coefficients
Hi people,
I want to obtain the adjusted r-square given a set of coefficients (without the intercept), and I don't know if there is a function that does it. Exist????????????????
I know that if you make a linear regression, you enter the dataset and have in "summary" the adjusted r-square. But this is calculated using the coefficients that R obtained,and I want other coefficients
2017 Oct 23
1
libGLU.so.1
I have a C++ program that I have been running on RedHat 6 and I want
to move to CentOS 7. When I run it on the CentOS 7 system it fails
with:
error while loading shared libraries: libGLU.so.1: cannot open shared
object file: No such file or directory
I did this, but still have no libGLU. I did a find of the entire
system for '*libGLU*' and nothing.
bash-4.2# yum whatprovides libGLU.so.1
2020 Apr 27
1
libGLU.so.1
I'm trying to download the rpm that will install this library. I do not see
it on the CentOS site. Any help would be appreciated.
Art Edwards
2011 Sep 29
1
Re: Wine and WoW Cataclysm Patch 4.0 troubleshooting thread
I only got offered a few choices - I think I clicked yes to all of them.
I read in one post that the answer is to uninstall and re-install the graphics drivers - not sure how that will help, but how do I uninstall nVidia's drivers?
I have a vague memory of someone posting about lib32 paths and simlinks or something.
2007 Oct 29
3
Anyone compiled a 64 bit version from source??
Preferably SUSE, but I'll take help from any one who has done a 64 bit
version.
Mike
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winehq.org/pipermail/wine-users/attachments/20071029/841e7791/attachment-0001.htm
2010 Dec 27
3
Wine not detecting correctly graphic vendor
Recently i changed my old 6600GT with a less old HD4850, uninstalled the nvidia drivers and install the propietary catalyst last version. All run perfectly, glxinfo shows direct rendering yes and the corresponding bunch of extensions and glxgears rate clear high.
But when i try to run any 3D app through wine it fails with for example:
$ wine Oblivion.exe
fixme:mixer:ALSA_MixerInit No master
2006 Aug 25
2
yum update failed
I am getting the following error on yum update.
What do I do??? I have the ATI display driver package installed.
---------------------------------------------
Running Transaction Test
Finished Transaction Test
Transaction Check Error: file /usr/X11R6/lib/libGL.so.1.2 from install
of xorg-x11-Mesa -libGL-6.8.2-1.EL.13.37 conflicts with file from
package fglrx64_6_8_0-8.16.20-1
file
2008 May 20
1
Problems with installing the rgl package
Dear All,
I am having the following problem while trying to install the rgl
package on R 2.7.0:
configure: error: missing required header GL/glu.h
ERROR: configuration failed for package 'rgl'
** Removing '/usr/lib/R/library/rgl'
** Restoring previous '/usr/lib/R/library/rgl'
The downloaded packages are in
/tmp/RtmpRLEDta/downloaded_packages
Updating HTML index