Re: [R] Urgent Help: How I can open (Business Objects 6.0) data file? Any ideas?

2011-02-27 Thread Ben Bolker
Salaam Batur gmail.com> writes: > This maybe unrelated R-question, but I am sure some of you might have a same > problem like I do. I'd like to run some tests on files which need to be > opened by a software tool called Business Objects. Right now, I am having > problem with open the data files w

[R] R help

2011-02-27 Thread Laura Clasemann
Hi, I was wondering if anyone could provide me with help in entering the attached dataset into R? I've been having a hard time in trying to figure out how to assemble it into both a frequency table and a bar graph within R. I've been trying to present the way I have the data arranged in Excel

Re: [R] Adjusting for autocorrelation in a panel model

2011-02-27 Thread David Kennedy
Dear Millo Thank you for the prompt and honest answer. Please accept my appreciation for developing the 'plm' package and for the excellent documentation associated with it. It was a great place for me to start, and it made my initial forays into panel data analysis a lot easier. You have giv

Re: [R] nested case-control study

2011-02-27 Thread array chip
Thomas, thank you for pointing this out! On another note, do you think coxph() will also take offset(logweight) as part of the formula? Or just use the argument weight=logweight in coxph()? Thanks! John From: Thomas Lumley Sent: Sun, February 27, 2011 12:1

Re: [R] Creating Boxpot with R within bash script

2011-02-27 Thread Joshua Wiley
Hi Greg, When you are running R from a script, you want to divert the output somewhere. Depending exactly how you run it, R may nicely push the text output to a file, but you should specify where you want the graphics to go yourself. For example: ## use the PDF graphics device pdf(file = "boxpl

[R] Urgent Help: How I can open (Business Objects 6.0) data file? Any ideas?

2011-02-27 Thread Salaam Batur
Dear all, This maybe unrelated R-question, but I am sure some of you might have a same problem like I do. I'd like to run some tests on files which need to be opened by a software tool called Business Objects. Right now, I am having problem with open the data files with my lower version of Busines

[R] R course in Santiago, Chile/ Curso de R en Santiago, Chile (Confirmado)

2011-02-27 Thread Jose Bustos Melo
(English Below)Estimados,  Acabamos de confirmar el lugar y la fecha del primer curso de R en Santiago, Chile. El curso se realizará el día Miércoles 9 y Jueves 10 de Marzo en las dependencias de la Facultad de Recursos Naturales de la Universidad Andres Bello, ubicada en República 440 (Metro R

Re: [R] Measuring correlations in repeated measures data

2011-02-27 Thread Ista Zahn
Hi Brant, My version of Orthodont doesn't seem to have as many levesl of age as yours but the general idea is > library(MEMSS) > data(Orthodont) > library(reshape) # could use reshape function in stats package instead of cast > c.orth <- as.data.frame(cast(Orthodont, Subject + Sex ~ age, > value=

Re: [R] Random Forest & Cross Validation

2011-02-27 Thread ronzhao
Thanks to you all! Now I got it! -- View this message in context: http://r.789695.n4.nabble.com/Random-Forest-Cross-Validation-tp3314777p3327384.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https:

[R] Creating Boxpot with R within bash script

2011-02-27 Thread Fishel, Greg
I will confess to being very wet behind the ears when it comes to scripting, so with that as a backdrop, here is my question. I can create a box and whisker plot without any problem from the command line, but incorporating that process into a bash script has proved problematic. Below is the port

[R] Measuring correlations in repeated measures data

2011-02-27 Thread Brant Inman
R-helpers: I would like to measure the correlation coefficient between the repeated measures of a single variable that is measured over time and is unbalanced. As an example, consider the Orthodont dataset from package nlme, where the model is: fit <- lmer(distance ~ age + (1 | Subject), dat

Re: [R] Combinations

2011-02-27 Thread Bill.Venables
You can compute the logarithm of it easily enough > lchoose(54323456, 2345) [1] 25908.4 Now, what did you want to do with it? -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Jim Silverton Sent: Monday, 28 February 2011 10:38 AM T

Re: [R] Transforming list into an array

2011-02-27 Thread Bill.Venables
One way to do it is to use the 'abind' package > NCurvas <- 10 > NumSim <- 15 > dW <- replicate(NumSim, matrix(rnorm(NCurvas * 3), NCurvas, 3), + simplify = FALSE) > library(abind) > DW <- do.call(abind, c(dW, rev.along = 0)) > dim(DW) [1] 10 3 15 -Original Message- From: r-h

Re: [R] replacing missing values with row average

2011-02-27 Thread Bert Gunter
Warning: This is not a helpful answer. Actually, it's a question: Why do you want to do this? Replacing missing values with row or column averages and then analyzing the data as if the missing values were not there is a dangerous thing to do it can produce biased estimates and understate the true e

[R] Transforming list into an array

2011-02-27 Thread Luis Felipe Parra
Hello. I have the following object which is a list of length NumSim with each entry being a matrix of dimensions Ncurvas x 3: dW = replicate(NumSim,cbind(rnorm(Ncurvas),rnorm(Ncurvas),rnorm(Ncurvas)),simplify=F) I would like to transform it into an array of dimension Ncurvas x 3 x NumSim. Does a

Re: [R] Combinations

2011-02-27 Thread Jim Silverton
any idea how to get R to compute a combination like (54323456, 2345) ? -- Thanks, Jim. [[alternative HTML version deleted]] __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http:

Re: [R] part or semi-partial correlation in R

2011-02-27 Thread Dimitri Liakhovitski
Take a look at this exchange: http://r.789695.n4.nabble.com/Partial-correlations-and-p-values-td908641.html Dimitri On Sun, Feb 27, 2011 at 2:01 PM, Neeti Sinha wrote: > Hello, > I wanted to ask if anybody knows how to calculate part correlation > coefficient in R. I have to calculate partial c

Re: [R] grouping and counting in dataframe

2011-02-27 Thread jim holtman
Here is one solution; mine differs since there should be at least one item in the range which would be itself: tm gr 1 12345 1 2 42352 3 3 12435 1 4 67546 2 5 24234 2 6 76543 4 7 31243 2 8 13334 3 9 64562 3 10 64123 3 > d$ct <- ave(d$tm, d$gr, FUN = function(x){ + # de

Re: [R] replacing missing values with row average

2011-02-27 Thread Joshua Wiley
Hi Daniel, If your data is stored in a matrix, the following should work (and be fairly efficient): # dat <- matrix(rnorm(100), nrow = 10) dat[sample(1:10, 3), sample(1:10, 3)] <- NA ## create an index of missing values index <- which(is.na(dat), arr.ind = TRUE) ## calculate the row m

Re: [R] grouping and counting in dataframe

2011-02-27 Thread zem
have nobody any idea? i have already try with tapply(d,gr, ... ) but i have problems with the choose of the function ... also i am not really sure if that is the right direction with tapply ... it'll be really great when somebody comes with new suggestion.. 10x -- View this message in context

[R] replacing missing values with row average

2011-02-27 Thread Daniel M.
Hello, I have some dataset, which i read it from external file using the (data <- read.csv("my file location")) and read as a dataframe > is(data) [1] "data.frame" "list" "oldClass" "vector" but i have also converted this into a matrix and tried to apply my code but didnt work. Anywa

Re: [R] plotmath: how to create a vector of expressions?

2011-02-27 Thread Marius Hofert
Dear Peter, perfect *as usual*, many thanks! Cheers, Marius On 2011-02-26, at 17:55 , Peter Ehlers wrote: > On 2011-02-25 15:57, Marius Hofert wrote: >> Dear expeRts, >> >> I would like to use LaTeX-like symbols in keys via plotmath. Below is a >> minimal >> example. I get: >> Error in fun(k

Re: [R] MLE estimation

2011-02-27 Thread David Cross
I am partial to Gary King's book: Unifying Political Methodology: The Likelihood Theory of Statistical Inference (University of Michigan Press, 1998) Cheers David Cross d.cr...@tcu.edu www.davidcross.us On Feb 27, 2011, at 2:19 PM, Ning Cheng wrote: > Dear List, > This problem is more a st

Re: [R] Hello!

2011-02-27 Thread Joshua Wiley
On Sun, Feb 27, 2011 at 9:16 AM, Mike Marchywka wrote: > I can probably find more "negative" ones if you are interested LOL :) > I was hoping to find another interesting technical conversation > to which I could contribute a few thoughts but subjective matters > do come up with statistical analysi

[R] foreach() package for parallel computing

2011-02-27 Thread ivo welch
dear R experts---I have been experimenting with the foreach package (with doMC) for a while. my first impression is that it is a very easy way to acquire parallel processing capabilities. (thanks, revolution R.) the only two gotchas were about installation (it required an exit and restart), and

Re: [R] Plotting two lines on a graph when using par(mfrow=)

2011-02-27 Thread Joshua Wiley
Hi Eric, On Sun, Feb 27, 2011 at 10:06 AM, eric wrote: > Basic question but still learning > > How do I plot two lines (f$equity and f$bh.equity) on one of the three > graphs under mfrow ? I tried putting brackets around the first plot and > lines command but that didn't work. > > par(mfrow=

Re: [R] MLE estimation

2011-02-27 Thread Mark Lamias
Check out Casella and Berger's Statistical Inference.  ISBN 978-81-315-0394-2 or http://en.wikipedia.org/wiki/Maximum_likelihood as an online reference. --Mark J. Lamias From: Ning Cheng To: r-help@r-project.org Sent: Sunday, February 27, 2011 3:19 PM Subject: [R] MLE estimation Dear List, Th

[R] MLE estimation

2011-02-27 Thread Ning Cheng
Dear List, This problem is more a statistic one than a R one. Any one can recommend me some references website or online paper on maximum likelihood estimation?I'm now working on that,while still doubt how to prove that the estimated parameters are normal distributed. Thanks for your time and hel

Re: [R] stata.get labels glm()

2011-02-27 Thread Tobias Caris
ok, solved it. In case anyone else is interested: 1st step: import data with convert.factors = FALSE 2nd step: replace only for variable v2 numeric values to labels: wvs1981$v2 <- factor(wvs1981$v2, labels = labels(attributes(wvs1981)$stata.info$label.table$v2)) Original-Nachricht

Re: [R] Hello!

2011-02-27 Thread Mike Marchywka
> Date: Sun, 27 Feb 2011 08:27:00 -0800 > From: markkne...@gmail.com > To: gunter.ber...@gene.com > CC: r-help@r-project.org > Subject: Re: [R] Hello! > > On Sat, Feb 26, 2011 at 10:11 PM, Bert Gunter wrote: > > Are you a fan of James Joyce? Is the Caps key on your keyboard broken? > > > >

Re: [R] stata.get labels glm()

2011-02-27 Thread Quark
Thanks for the idea, Ben. It works, but unfortunately the numbers assigned by as.numeric() do not correspond to the original coding. Any other suggestions are very much appreciated. Best regards, Tobias Original-Nachricht > Datum: Sun, 27 Feb 2011 15:13:47 + > Von: Ben B

[R] part or semi-partial correlation in R

2011-02-27 Thread Neeti Sinha
Hello, I wanted to ask if anybody knows how to calculate part correlation coefficient in R. I have to calculate partial correlation as well as part-correlation. I found different libraries for partial correlation but could not find anything related to part correlation. Thanks for the help in advanc

[R] finding model order components for arima()

2011-02-27 Thread nandan amar
Greetings, I am trying to model a time series using arima(). For getting the model order components(p, d, q and P,D,Q) I am using procedure discussed in [1] in section 3.2 . It is most likely hit and trial method based on lower AIC value. I want to know what is the correct way to find model order

[R] Plotting two lines on a graph when using par(mfrow=)

2011-02-27 Thread eric
Basic question but still learning How do I plot two lines (f$equity and f$bh.equity) on one of the three graphs under mfrow ? I tried putting brackets around the first plot and lines command but that didn't work. par(mfrow=c(3,1)) {plot(f$Date,f$equity, col="blue", type="l", main="equity") l

Re: [R] invalid type (list) for variable

2011-02-27 Thread Michael Hecker
Hi Jannis, thank you very much for your help. After conversion to factor everything is working fine. Michael Am 26.02.2011 20:32, schrieb Jannis: Michael, i have no experience with the Bayesian models you use, but I could imagine that the problem is that this classifiedPositive variable i

Re: [R] [R-sig-ME] Fwd: Re: ANOVA and Pseudoreplication in R

2011-02-27 Thread Ben Ward
On 27/02/2011 05:46, Robert A LaBudde wrote: I think you are over-concerned with the term "pseudo-replication". All this means is that the error source is nested, and not a full replicate. What you haven't done, and need to do, is to describe your experiment in terms of the real variables and

[R] regularized dfa rda (Klar): problems with predictions

2011-02-27 Thread Daniel Stahl
Dear all, I am trying to do a n-fold cross-validation for a regularized discrimant function analysis using rda from the package klaR. However, I have problems to predict the groups from the test/validation sample. The exmaples of the R documantation and some online webpage also do not work. Does

Re: [R] accessing variables inside a function, inside a loop

2011-02-27 Thread Joshua Wiley
Dear Sacha, That is the most piteous soliloquy I have read in some time. Here then a response to soothe your dizzied mind and wrest your rest from the ornery sprites that so threaten to plague it now. ## Some sample data water <- as.data.frame(matrix(rnorm(120), ncol = 12)) ## Adding your names

Re: [R] substract 2 data.frames

2011-02-27 Thread Nicolas Gutierrez
That worked! Gracias Jorge Nico On 2/27/2011 12:58 PM, Jorge Ivan Velez wrote: Hi Nicolas, Try popn[!rownames(popn) %in% rownames(fish), ] HTH, Jorge On Sun, Feb 27, 2011 at 3:29 PM, Nicolas Gutierrez <> wrote: Hi! I have 2 data.frames: "fish" and "popn": >fish xloc

Re: [R] accessing variables inside a function, inside a loop

2011-02-27 Thread jim holtman
A quick look says you are passing N_Male in which is a vector of values, but you are trying to use it as if it were a character value in: y <- DATA[[y]] try calling it with comp.plot(i,"N_male",DATA=water) Also get out of the habit of using 'attach'; it can lead to other issues. On Sun, Feb 27

Re: [R] substract 2 data.frames

2011-02-27 Thread Jorge Ivan Velez
Hi Nicolas, Try popn[!rownames(popn) %in% rownames(fish), ] HTH, Jorge On Sun, Feb 27, 2011 at 3:29 PM, Nicolas Gutierrez <> wrote: > Hi! > > I have 2 data.frames: "fish" and "popn": > > >fish > > xloc yloc id birth size weight energy gonad > 20 15 15 54 -60 107.9 63.0 15952.9 8

Re: [R] tricky (for me) merging of data

2011-02-27 Thread Tal Galili
Hi Grant, I don't have a solution, but just to be clearer on your situation: One row from sheet 2 looks like this: BC1 BC2 1 01/02/87 33 3 1 03/03/87 44 3 ? Are you using only the first 6 columns for the data to be replicated, and using the other columns as some sort of indicators on when a seq

[R] accessing variables inside a function, inside a loop

2011-02-27 Thread Sacha Viquerat
dear list! I KNOW this has been answered a million times before. But, as some might remember from their "freelance" times as a statistic consultant, sometimes you're blinded by the facts. I KNOW I have seen this problem solved, but due to the mental blockade i have been suffering from the last

Re: [R] substract 2 data.frames

2011-02-27 Thread Jinyan Huang
I think paste all column together, then using a %in% b. Maybe others have better solution. On Sun, Feb 27, 2011 at 9:29 PM, Nicolas Gutierrez wrote: > Hi! > > I have 2 data.frames: "fish" and "popn": > >>fish > >   xloc yloc id birth  size weight  energy gonad > 20   15   15 54   -60 107.9   63.0

[R] substract 2 data.frames

2011-02-27 Thread Nicolas Gutierrez
Hi! I have 2 data.frames: "fish" and "popn": >fish xloc yloc id birth size weight energy gonad 20 15 15 54 -60 107.9 63.0 15952.9 8.0 21 15 15 32 -60 105.1 61.4 15538.8 7.8 914 43 96 -60 118.9 69.4 17573.2 8.8 71 324 64 -60 121.6 71.0 17976.0 9.0

Re: [R] Hello!

2011-02-27 Thread Ravi Varadhan
I actually thought that Bert's comment was tastefully funny. I, too, do not enjoy reading all lowercase emails or emails that use ridiculous abbreviations. In any case, I am not sure from where Mark gets the idea that the list is way too negative. In my earlier days of learning S-Plus and R,

Re: [R] nested case-control study

2011-02-27 Thread Dennis Murphy
Hi: Using package sos: # install.packages('sos') # if necessary library(sos) findFn('conditional logistic regression') the following appear to be reasonable candidates to start investigating: * clogit() in package survival * clogistic() in package Epi * clogistCalc()in package saws

Re: [R] Hello!

2011-02-27 Thread Rios,Alfredo Arturo
Hi Mark, I agree that comment was completely unnecessary, but Berton Gunter does contribute (not defending him) especially, in the "caution make sure you know what you are doing and consult your local statistician comments." I would look for the nuggets of wisdom in his comments and ignore the "ex

[R] tricky (for me) merging of data

2011-02-27 Thread Grant Gillis
Dear List, I am having trouble with a tricky merging task. I have one data sheet that has dates (continuous) that radio collared individuals were monitored via telemetry. I have a different sheet containing data from instances where individuals were recaptured and associated body condition data

Re: [R] Hello!

2011-02-27 Thread Mark Knecht
On Sat, Feb 26, 2011 at 10:11 PM, Bert Gunter wrote: > Are you a fan of James Joyce? Is the Caps key on your keyboard broken? > > -- Bert Are your snide comments adding anything to the conversation? Do you allow for the possibility of an ESL speaker writing an email to this list? Do you know th

Re: [R] R Tcl/Tk [MacOSX] TkButton Problem

2011-02-27 Thread Stefan Richter
Hi, > I think you'll need to post a complete example to illustrate the problem. > I'd suggest posting it to the R-sig-mac list, since it seems to be a problem > specific to that platform. > > Duncan Murdoch ok, thank you. I will post it there. Stefan Richter _

Re: [R] R Tcl/Tk [MacOSX] TkButton Problem

2011-02-27 Thread Stefan Richter
Hi, > On 11-02-27 7:31 AM, Stefan Richter wrote: >> Hi, >> >> I have a tktoplevel window and in it a tkbutton: >> >> AUS<- function() >> { >> foo(parameters); >> } >> AUSButton.but<- tkbutton(tt,text="OK",command=AUS) >> >> The function foo(...) does a time-consuming calculation, and durin

[R] Genalg not respecting constraints

2011-02-27 Thread byku
Hello everyone, I've got a pretty simple exercise to solve with genalg. The goal is to maximize the revenue. Even tough genalg is not respecting rather simple constraints. What's wrong with my code? library(genalg) evaluate <- function(X=c()) { returnVal = NA; a<-c(X*c(2,0,0,4,8,1,0),X*c(0,2,1,0

Re: [R] help please ..simple question regarding output the p-value inside a function and lm

2011-02-27 Thread Dennis Murphy
Hi: There has to be a better way to do this, but one option is to use pmin() and pmax(). # Function to apply to pairs of columns: ordPair <- function(x, y) data.frame(pmin(x, y), pmax(x,y)) u <- with(odataframe, cbind(ordPair(X1, X2), ordPair(X3, X4), ordPair(X5, X6)) u pmin.x..y. pmax.x..y. pm

Re: [R] R Tcl/Tk [MacOSX] TkButton Problem

2011-02-27 Thread Duncan Murdoch
On 11-02-27 10:09 AM, Stefan Richter wrote: Hi, On 11-02-27 7:31 AM, Stefan Richter wrote: Hi, I have a tktoplevel window and in it a tkbutton: AUS<- function() { foo(parameters); } AUSButton.but<- tkbutton(tt,text="OK",command=AUS) The function foo(...) does a time-consuming calcul

Re: [R] stata.get labels glm()

2011-02-27 Thread Ben Bolker
gmx.at> writes: > > Dear R community, > > I would like to import data saved with Stata and then > run a Probit model using R. > > My data comes from the World Values Surveys and > in the Probit model I want to control for countries. > [snip] [snip] Why don't you set convert.factors

[R] Transitions probability comparison

2011-02-27 Thread kende jan
Hello, I am training to use the changeLOS package. Using data provided in this package (los.data), I want to compare transition probability P01 and P03 like the Kaplan-Meier Method.Can someone help me ? Thank you. Jan data(los.data) my.observ <- prepare.los.data(x=los.data) my.model <- msmod

[R] R Users Group in Saint Louis, MO

2011-02-27 Thread Joshua Ulrich
I would like to invite those of you in the St. Louis, Missouri area to join the newly-created St. Louis R user group. The aim is to create an interdisciplinary venue where practitioners from various fields in industry, academia, and government can exchange knowledge and experience using R for data

Re: [R] R Tcl/Tk [MacOSX] TkButton Problem

2011-02-27 Thread Duncan Murdoch
On 11-02-27 7:31 AM, Stefan Richter wrote: Hi, I have a tktoplevel window and in it a tkbutton: AUS<- function() { foo(parameters); } AUSButton.but<- tkbutton(tt,text="OK",command=AUS) The function foo(...) does a time-consuming calculation, and during this calculation there is printe

[R] R Tcl/Tk [MacOSX] TkButton Problem

2011-02-27 Thread Stefan Richter
Hi, I have a tktoplevel window and in it a tkbutton: AUS <- function() { foo(parameters); } AUSButton.but <- tkbutton(tt,text="OK",command=AUS) The function foo(...) does a time-consuming calculation, and during this calculation there is printed some progress information to the console.

Re: [R] MCMCpack combining chains

2011-02-27 Thread Alan Kelly
Thank you Uwe for the clarification. Alan Kelly On 24.02.2011 17:48, Alan Kelly wrote: > Deal all, as MCMClogit does not allow for the specification of several > chains, I have run my model 3 times with different random number seeds and > differently dispersed multivariate normal priors. > For

[R] Database abstraction

2011-02-27 Thread Rob Tirrell
Hi all - I've been working on a lite ORM and database abstraction package for R. Formatting complex queries by hand has always been an error-prone hassle, so I've tried to do away with that as much as possible, instead, using R objects to represent elements of a database system (statements, clause

[R] stata.get labels glm()

2011-02-27 Thread Quark
Dear R community, I would like to import data saved with Stata and then run a Probit model using R. My data comes from the World Values Surveys and in the Probit model I want to control for countries. So far I figured out that I should put "convert.factors = FALSE" when using stata.get() in o

Re: [R] neural networks with RSNNS

2011-02-27 Thread Sara Szeremeta
To provide more details: 1) the package I use is the RSNNS (as stated in the topic) 2) for input data to be split I fed in ts() object.. maybe this is a wrong move. Does anybody knows what is the type of object that can be fed into the train() function from the RSNNS package? The input dat

Re: [R] Error

2011-02-27 Thread Duncan Murdoch
On 11-02-26 8:26 AM, mathijsdevaan wrote: Mean doesn't work either... I understand that the message "replacement has 0 items, need 37597770" implies that the function is not returning any values, but I don't understand why then this is not the case in the example. DF = data.frame(read.table(text

Re: [R] Hello!

2011-02-27 Thread Rob Tirrell
Look at ?readline for input from the user. For reading Excel files, a good place to start would be page 26 of the manual: http://cran.r-project.org/doc/manuals/R-data.pdf -- Robert Tirrell | r...@stanford.edu | (607) 437-6532 Program in Biomedical Informatics | Butte Lab | Stanford University O

Re: [R] Hello!

2011-02-27 Thread Jim Lemon
tsvi sabo wrote: Hi,i would like to know what is the best way to write a procedure in R,it seems that when i run a script it doesn't wait for previouse code lines to be excuted,i would like to know how to force R to hold on a code line until it is processed,for example:i want to choose from a

Re: [R] two-way unbalanced ANOVA

2011-02-27 Thread peter dalgaard
On Feb 27, 2011, at 01:12 , Pasicolan wrote: > Hello Everyone, > > *Question: *How do you calculate the sum of squares for a two-way > _unbalanced_ ANOVA? There is no unique way of doing it. You can either do a decomposition as f1 : SS(Y~f1) f2 : SS(Y~f1+f2) - SS(Y~f1) res: SStot - SS(Y~

[R] Problem in simulating envelopes with R package "Spatstat"

2011-02-27 Thread Jeff Fang
Hi all, While useing the R package "Spatstat" to detect the spatial point pattern of my data, I met a problem. When I computes simulation envelopes with a fitted point process model: Poisson cluster (Thomas) process (kappa=2.751010e-05; sigma=5.634274e+01; mu=4.943639e+02), I cannot get the high