Andy Ross
Reputation
15,487
Next privilege 20,000 Rep.
Access 'trusted user' tools
 Dec 5 comment f[arg1, arg2,…,argN] vs. f[{arg1, arg2,…,argN}] You could just write f[args___]:= f[{args}] and then provide the definition for f[{arg1_, arg2_,...}]. Dec 5 comment Using an inequality to select elements from a list and then plotting the results You could use LogLogPlot instead of Plot. Dec 5 comment Using an inequality to select elements from a list and then plotting the results Well, you have negative x values in that list, so that might be a problem. Dec 5 comment Adding Math to Plots Have a look at HoldForm. Dec 5 comment Using an inequality to select elements from a list and then plotting the results UnitStep is listable and logr-x gives a list of numbers. If they are negative UnitStep gives 0 otherwise it gives 1. Mean of a list of zero's and 1's is the same as counting the non-negative values and dividing by the number of elements. Dec 5 comment Using an inequality to select elements from a list and then plotting the results This counts all values in logr that are greater than a given x value and divides by the number of elements in logr. Is that not what you wanted? Dec 5 answered Using an inequality to select elements from a list and then plotting the results Dec 4 comment Forest plot with Mathematica 9 @SjoerdC.deVries I suspect they say M9 because CoxModelFit makes computing this stuff trivial. It was quite difficult to do before M9. Dec 4 revised How do you pattern match a DataDistribution added 2 characters in body Dec 4 revised How do you pattern match a DataDistribution added 286 characters in body Dec 4 answered How do you pattern match a DataDistribution Dec 4 answered Forest plot with Mathematica 9 Dec 2 awarded Necromancer Dec 2 awarded Revival Dec 2 comment Representative Smooth Kernel Distribution from Truncated Distribution I'm glad. You might want to use the estimate on the original data to get a better automatic bandwidth (so it isn't based on the pseudo-data). This can be done by SmoothKernelDistribution[data]["Bandwidth"]. Dec 2 revised Representative Smooth Kernel Distribution from Truncated Distribution added 505 characters in body Dec 2 revised Representative Smooth Kernel Distribution from Truncated Distribution deleted 61 characters in body Dec 2 answered Representative Smooth Kernel Distribution from Truncated Distribution Dec 2 answered Make a density list plot/histogram from large, pre-binned data set? Nov 30 accepted How can I use the overhang argument to Partition to avoid using PadLeft and PadRight here?