Reputation
15,462
Next privilege 20,000 Rep.
Access 'trusted user' tools
Badges
1 40 82
Newest
 Enlightened
Impact
~192k people reached

Feb
18
comment MovingAverage - not enough memory exception
As others have said this ends up calling ListCorrelate under the hood. Interestingly it fails just by using the first five elements of curve1. ListCorrelate[{{1},{1},{1},{1}}, curve1[[;;5]]].
Feb
17
comment How is the DistributionFitTest[data, dist] function actually using the dist parameter?
When automatic is given it estimates the best parameters from the data. You can confirm by extracting the "FittedDistribution" from the HypothesisTestData. Since the parameters are estimated the p-value is corrected to allow for the reduction in degrees of freedom.
Feb
17
comment How is the DistributionFitTest[data, dist] function actually using the dist parameter?
The example should probably been phrased to say "test whether data was drawn from a normal distribution with known mean and standard deviation"
Jan
13
comment Random Variate generating strange results when using ProbabilityDistribution
I also get the underflow and weird spike in 10.1. Seems like a bug that was fixed in later versions.
Jan
12
comment Random Variate generating strange results when using ProbabilityDistribution
I can't replicate the problem in 10.3 for Mac. What version are you using?
Jan
9
comment Histogram “PDF” - Workaround for chopped y axis
Try the integration. You can integrate the PDF of HistogramDistribution to make that easier.
Jan
9
comment Histogram “PDF” - Workaround for chopped y axis
I don't have a computer in front of me but that doesn't look wrong to me. Looks like it probably integrates to 1.
Jan
6
comment Is there some way to implement automatic TimeSeries extrapolation or series continuation?
@Mike Honeychurch hopefully this answers your question
Jan
5
comment Is there some way to implement automatic TimeSeries extrapolation or series continuation?
Try TimeSeriesThread[Mean, {test1, test2}]["Values"]. You can play around with the ResamplingMethod for each time series to have more control over the result.
Dec
27
comment How do I keep Speak[] from spelling out words?
I'm pretty sure Speak uses the native OS text-to-speech engine. So whatever that happens to do with the parsed SpokenString is what you are going to get. Not sure how to verify that this is the case but if so, perhaps there is some system-level setting that would fix the issue.
Dec
22
comment Why is TimeSeriesForecast linear?
That's odd. It returns a model for me. I'm using 10.1 on windows 7.
Dec
22
comment Why is TimeSeriesForecast linear?
Incidentally a second order trend can be achieved in several ways but the following will let it automatically pick the orders of AR and MA components. TimeSeriesModelFit[data,{"ARIMA",2}]. A word of warning though, a second order trend is rarely a good idea in practice
Dec
22
comment Why is TimeSeriesForecast linear?
It may be that a second order trend is needed. That said, if TSMF could reliably forecast stocks WRI wouldn't release it to the public :p
Dec
19
comment How to map the second highest value in each row of a matrix
@kuba my apologies I didn't notice you had already posted this in the comments
Nov
20
comment Non-existent PDF for combined MixtureDistribution and TransformedDistribution?
I'm running on OS X as well. Interesting. Can anyone else reproduce this?
Nov
20
comment Non-existent PDF for combined MixtureDistribution and TransformedDistribution?
What version are you using? On version 10.2 I don't see this.
Oct
5
comment Genarating Random Move right left up down
Look at RandomChoice
Sep
29
comment How to pick a color differing significantly from the colors already in a given color list?
Any reason why you couldn't use a pre-defined color space? Table[ColorData["BrightBands"][i], {i, 0, 1, .1}] There are a number of both continuous and discrete sets.
Sep
25
comment should Variance of EmpiricalDistribution include Bessel correction? (it doesn't)
Also, since empirical distribution works with weights and censored data the concept of sample size isn't always clear.
Sep
25
comment should Variance of EmpiricalDistribution include Bessel correction? (it doesn't)
The decision was made in order to maintain a consistency with the rest of the distributions framework. If you want the sample variance it seems easy enough to obtain.