Displaying 20 results from an estimated 400 matches similar to: "Data consideration in executing pca"
2009 Dec 04
2
Solve linear program without objective function
Dear R-users,
i try to solve to following linear programm in R
0 * x_1 + 2/3 * x_2 + 1/3 * x_3 + 1/3 * x_4 = 0.3
x_1 + x_2 + x_3 + x_4 = 1
x_1, x_2, x_3, x_4 > 0,
x_1, x_2, x_3, x_4 < 1
as you can see i have no objective function here besides that i use the
following code.
library(lpSolve)
f.obj<-c(1,1,1,1)
f.con<-matrix(c(0,2/3,1/3,1/3,
1,1,1,1,
2011 May 22
2
Finding solution set of system of linear equations.
I have a simple system of linear equations to solve for X, aX=b:
> a
[,1] [,2] [,3] [,4]
[1,] 1 2 1 1
[2,] 3 0 0 4
[3,] 1 -4 -2 -2
[4,] 0 0 0 0
> b
[,1]
[1,] 0
[2,] 2
[3,] 2
[4,] 0
(This is ex Ch1, 2.2 of Artin, Algebra).
So, 3 eqs in 4 unknowns. One can easily use row-reductions to find a
homogeneous solution(b=0) of:
X_1
2006 Dec 08
1
MAXIMIZATION WITH CONSTRAINTS
Dear R users,
I?m a graduate students and in my master thesis I must
obtain the values of the parameters x_i which maximize this
Multinomial log?likelihood function
log(n!)-sum_{i=1]^4 log(n_i!)+sum_
{i=1}^4 n_i log(x_i)
under the following constraints:
a) sum_i x_i=1,
x_i>=0,
b) x_1<=x_2+x_3+x_4
c)x_2<=x_3+x_4
I have been using the
?ConstrOptim? R-function with the instructions
2012 Sep 05
2
Improvement of Regression Model
Hello folks,
I am on learning phase of R. I have developed Regression Model over six
predictor variables. while development, i found my all data are not very
linear. So, may because of this the prediction of my model is not exact.
Here is the summary of model :
Call:
lm(formula = y ~ x_1 + x_2 + x_3 + x_4 + x_5 + x_6)
Residuals:
Min 1Q Median 3Q Max
-125.302
2007 Jun 28
0
Evaluating predictive power with no intercept-statistics question - not R question
I realize that the following has been talked about on this list many
times before in some related way but I
am going to ask for help anyway because I still don't know what to do.
Suppose I have no intercept models such as the following :
Y = B*X_1 + error
Y = B*X_2 + error
Y = B*X_3 + error
Y = B*X_4 + error
and I run regressions on each ( over the same sample of Y ) and now I
want to
2009 Jun 11
2
Optimization Question
Hi All
Apologies if this is not the correct list for this question.
The Rglpk package offers the following example in its documentation
library(Rglpk)
## Simple mixed integer linear program.
## maximize: 3 x_1 + 1 x_2 + 3 x_3
## subject to: -1 x_1 + 2 x_2 + x_3 <= 4
## 4 x_2 - 3 x_3 <= 2
## x_1 - 3 x_2 + 2 x_3 <= 3
## x_1, x_3 are non-negative integers
## x_2 is a non-negative real
2009 Nov 13
2
why the same values cannot be judged to be the same in R
Hi Rusers,
I found sometimes that the same values cannot be judged to be the same in
R. Anybody knows the probelm? I think i ignored some minor detail. Thanks.
Here is the example.
############
data1<-matrix(data=c(1,1.2,1.3,"3/23/2004",1,1.5,2.3,"3/22/2004",2,0.2,3.3,"4/23/2004",3,1.5,1.3,"5/22/2004"),nrow=4,ncol=4,byrow=TRUE)
2005 Jul 28
1
conversion from SAS
Hi, I wonder if anybody could help me in converting
this easy SAS program into R.
(I'm still trying to do that!)
PROC IMPORT OUT= WORK.CHLA_italian
DATAFILE= "C:\Documents and
Settings\carleal\My
Documents\REBECCA\stat\sas\All&nutrients.xls"
DBMS=EXCEL2000 REPLACE;
GETNAMES=YES;
RUN;
data chla_italian;
set chla_italian;
2016 Jan 11
2
tftp-hpa features?
On Fri, Jan 8, 2016 at 5:46 PM, Geert Stappers via Syslinux
<syslinux at zytor.com> wrote:
> On Fri, Jan 08, 2016 at 03:40:37PM -0600, Matt Zagrabelny via Syslinux wrote:
>> Greetings,
>>
>> Is this list (a|the best) place to make feature requests for tftp-hpa?
>
> Yes, it is.
> from email header List-Id: For discussion of Syslinux and tftp-hpa
2010 Oct 28
0
SAMBA smb.conf LINUX CLIENT SIDE
SAMBA LDAP PDC OS : Opensuse 11.3 X86-64 with full optionnal server software installed
CLIENT OS : Opensuse 11.3 X86-64 with minimal desktop workstation configuration
Samba : 3.5.4-5.1.2
Ldap : 2.4.21-9.1
I have a small network with less than 10 LINUX CLIENTS and one SAMBA LDAP PDC LINUX.
This is my smb.conf server side file.
Any comment for the server side are welcome.
What should
2006 May 09
0
Autocompleter quirk and my proposed fix.
Under heavy server load, my autocompleter was doing something strange. The
ajax requests were coming back out of order. For example in a contact name
search if I typed: dan
I would get responses like so:
Result set for: d
Result set for: dan
Result set for: da
So once the typing stopped I would be looking at the "da" query results not
the "dan" results.
I modified the
2016 Jan 11
0
tftp-hpa features?
On 01/11/16 08:09, Matt Zagrabelny via Syslinux wrote:
>
> I would like to propose a feature request of adding filespace ACLs to tftpd-hpa.
>
> Example:
>
> I serve data out of /srv/tftp. I only want clients 192.168.1.0/24 to
> have read access to /srv/tftp/data_1 and only want clients
> 192.168.2.0/24 to have read access to /srv/tftp/data_2.
>
> Configuration:
2017 Sep 04
1
Merge by Range in R
Hi,?
I have two big data set.?
data _1 :?
> dim(data_1)
[1] 15820 5
> head(data_1)
? ?Chromosome ?????Start????????End????????Feature GroupA_3
1: ? ? ? ????????chr1 521369 ?750000 ????chr1-0001 ? ?????0.170
2: ? ? ? ????????chr1 750001 ?800000 ????chr1-0002 ? ????-0.086
3: ? ? ? ????????chr1 800001 ?850000 ????chr1-0003 ? ?????0.006
4: ? ? ? ????????chr1 850001 ?900000 ????chr1-0004 ?
2009 Feb 12
1
General query regarding scoring new observations
Hi,
I was wondering if I can have some advice on the following problem.
Let's say that I have a problem in which I want to predict a binary outcome
and I use logistic regression for that purpose. In addition, suppose that my
model includes predictors that will not be used in scoring new observations
but must be used during model training to absorb certain effects that could
bias the
2004 May 21
2
Help with Plotting Function
Dear List:
I cannot seem to find a way to plot my data correctly. I have a small data frame with 6 total variables (x_1 ... x_6).
I am trying to plot x_1 against x_2 and x_3.
I have tried
plot(x_2, x_1) #obviously works fine
plot(x_3, x_1, add=TRUE) # Does not work. I keep getting error messages.
I would also like to add ablines to this plot.
I have experimented with a number of other
2011 Sep 07
0
Setting specific path for home, netlogon and profile
Hello.
I have tried every things but I can't make it work.
On the server
I want home for user FRED physically in /data/samba/home/FRED
I want profile for user FRED physically in /data/samba/profile/FRED/linux ( when connecting from his laptop under linux )
I want profile for user FRED physically in /data/samba/profile/FRED/WinXP ( when connecting from his laptop under windows XP )
I
2016 Jan 11
1
tftp-hpa features?
Hi hpa,
On Mon, Jan 11, 2016 at 10:28 AM, H. Peter Anvin <hpa at zytor.com> wrote:
> On 01/11/16 08:09, Matt Zagrabelny via Syslinux wrote:
>>
>> I would like to propose a feature request of adding filespace ACLs to tftpd-hpa.
>>
>> Example:
>>
>> I serve data out of /srv/tftp. I only want clients 192.168.1.0/24 to
>> have read access to
2011 Jan 11
0
modified FAST Script from package SensoMineR for the R community - Reg
###Dear R users
###I have been using SensoMineR package from CRAN for most of my work in
sensory data analysis and from my usage experience, I encountered some
areas for improvement and considered ###modifying the function in
SensoMineR package for my personal use. I felt that it could be useful to
share this to the community for enabling adoption by other users where
they might require a
2007 Dec 19
0
leaps
Thank you very much for the example. I think interactively I could get
something.
But my obstacle is to write an R script that processes my set of data
automatically.
My difficulty is to extract the information that appears on the screen, when
R is operated interactively, from a scripts.
Let me go over some steps to make sure I am doing things right.
Assume my data have been read into the matrix
2013 Feb 15
2
sprintf in system command
hi all
I am using r (2.15.2) in windows 7 32bit
I want to execute an external program from r console. the program is a
command line program which needs the following format to start
C:/Users/.../dssp-2.0.4-win32.exe -i
data_1.txt -o data_1.dssp
I used the system command as:
system
('C:/Users/.../dssp-2.0.4-win32.exe -i