search for: livington

Displaying 8 results from an estimated 8 matches for "livington".

Did you mean: livingston
2009 Dec 23
2
Mean, median and other moments
Hi! Suppose I have a dataset as follows pd = c(10,7,10,11,7,11,7,6,8,3,12,7,7,10,10) I wish to calculate the mean, standard deviation, median, skewness and kurtosis i.e. regular standard statistical measures. average = mean(pd) stdev    = sd(pd) median = median(pd) skew    = skewness(pd) kurt     =  kurtosis(pd) Q. No (1) How do I get these at a stretch using some R package? I came across
2009 Dec 14
2
Combinations
Dear R helpers,   I am working on the scenario analysis pertaining to various interest rates. In this connection I need to form the various combinations as under :   Suppose I have two sets A = (a, b, c) and B = (x,y,z)   Then I can easily form the cominations as (ax, ay, az, bx, by, bz, cx, cy, cz)   However, if I have say 5 variables, then total no of possible combinations will be 3^5 = 243.
2010 Feb 03
2
How to change output 'csv' file
Dear R helpers   After executing the R code, where the last few lines of the code are something like given below.     ## Part of my R code     n = 20   ........ .........   final_output = data.frame(Numbers = numbers, ABC = data1, XYZ = data2, PQR = data3)           write.csv(data.frame(Scenario = paste("Sc_", 1:n, sep = ""), final_output'), 'result.csv', row.names
2010 Feb 12
1
how to read csv file having variables unequal column sizes
Dear R helpers   Suppose e.g. I have a csv file having three variables defined and each of these variables have data items of say 40, 50, 45 length. When I open this csv file in 'R', I get 10 trailing 'NA's under first column and 5 'NA' s in case of 3rd column.   How do I get rid of these NA's s.t. when I read the first column, there should be only 40 data items, 2nd
2010 Feb 18
1
Matrix in a Reverse order
Dear 'R' friends I have a sort of stupid question to ask. I have a matrix say of the order 4 X 3 as 83    98    90 21    83    84 70    39    56 65    29    38 Is there any command in R which will reverse the order i.e. I need to have same 4 X 3 matrix but as given below 65    29    38 70    39    56 21    83    84 83    98    90 i.e. the last row becomes first row, second - last row
2009 Dec 15
1
Changing Column names in (Output) csv file
Dear R helpers   Following is a part of R code.   data_lab <- expand.grid(c("R11", "R12", "R13"), c("R21", "R22", "R23"), c("R31", "R32", "R33"), c("R41", "R42", "R43"), c("R51", "R52", "R53"), c("R61", "R62", "R63"),
2009 Dec 04
3
Combinations and joint probabilities
  Dear R helpers   Suppose I have two sets of ranges (interest rates) as   Range 1 : (7 – 7.50, 7.50 – 8.50, 8.50 – 10.00) with respective probabilities 0.42, 0.22 and 0.36.     Range II : (11-12, 12-14, 14-21) with respective probabilities 0.14, 0.56 and 0.30 respectively.     My problem is to form the combinations of these ranges in a decreasing order of joint probabilities. It is assumed that
2010 Feb 10
4
Readjusting the OUTPUT csv file
Dear R helpers   I have some variables say ABC, DEF, PQR, LMN and XYZ. I am choosing any three varaibles at random at a time for my analysis and name these files as input1.csv, input2.csv and input3.csv. So if I choose variables say ABC, DEF and PQR, I am passing the specifications of these variables to input1.csv, input2.csv and input3.csv respectively.   This means in another case even if I