Community Profile

photo

the cyclist


Alden Scientific

Last seen: Today 2011년부터 활동

Head of Modeling and Statistics at Alden Scientific. Obsessive runner. Professional Interests: Predictive modeling, statistics. (I don't respond to email via author page, but will usually look at a question if you send me a link to it.)

Programming Languages:
Python, R, MATLAB, SQL
Spoken Languages:
English

Statistics

All
  • Treasure Hunt Participant
  • Scavenger Finisher
  • Master
  • Thankful Level 5
  • Likeable
  • Famous
  • First Review
  • First Submission
  • 36 Month Streak
  • Revival Level 3
  • Knowledgeable Level 5
  • First Answer

배지 보기

Content Feed

보기 기준

답변 있음
How to save a Figure to a PNG File
According to the documentation for saveas, you should be able to do saveas(gcf,'CompileData.png') If that doesn't work, then y...

약 15시간 전 | 0

답변 있음
How fitlm computes confidence bounds?
Yes, the coefCI property of the model object output from fitlm gives the 95th percentile confidence intervals of the fitted coef...

약 17시간 전 | 0

답변 있음
recessionplot function using recession dates for a country other than USA
% Pull data and plot an example from recessionplot documentation load Data_CreditDefaults X = Data(:,1:4); T = numel(dates); ...

약 17시간 전 | 1

| 수락됨

답변 있음
i don't know why the legend doesn't take the same type of line that simulated , for example if dashed line used , so the legend should be dashed also ?
The problem is what @Voss described. Here, I've removed your legend completely. When you use the plot() function with a cfit obj...

1일 전 | 0

답변 있음
Create a figure with the same x-axis on top and bottom, and y-axis on the left and right.
Based on your comment on my other solution, here is a different guess as to what you mean. (I'm still not really sure.) This co...

1일 전 | 0

답변 있음
Create a figure with the same x-axis on top and bottom, and y-axis on the left and right.
I am not entirely sure I understand everything you want. But, borrowing from this answer, here is code that will label ticks on ...

1일 전 | 0

답변 있음
Type of t-statistic returned by mnrfit for an ordinal model?
The t-statistic does not have "tailedness". It is a ratio of the effect coefficient to the standard error. One might use the t-...

1일 전 | 1

답변 있음
Do "pointers" exist in MATLAB? A question about the efficiency of using shorthands.
In general, MATLAB will not allocate new memory until it needs to, and will just use the same "array reference" to memory. See H...

1일 전 | 0

| 수락됨

답변 있음
How can I create a matrix that contains number and text without using the cell array?
The MATLAB table data type is probably the best for this. Then, how you choose to export the data from MATLAB will also be impo...

2일 전 | 0

답변 있음
How do I create a table and add a row of text from an existing matrix?
% Pull the data as a table (even though we are only going to use it to get the header row) tbl = readtable("TestFile.xlsx"); ...

2일 전 | 0

답변 있음
searching for the particular point value from the two different data sets
Without more detail about how your dataset is structured (e.g. do you have two vectors, or arrays, or tables?), it is not possib...

4일 전 | 0

답변 있음
Randsample with matrix: extract multiple values from every column of a matrix without loop!
Here is a pretty obfuscated one-liner, but I think it does what you want, and should be fast: % Your data z_k = 2; pV= [0.552...

4일 전 | 0

| 수락됨

답변 있음
use array operations to add 360 to elements of an array less than -180 without a loop
A = [1,2,3,359,5,358,355]; idx = (A>=180); A(idx) = A(idx) - 360

4일 전 | 1

| 수락됨

답변 있음
How to locate X value for a given Y value
It would be helpful if you uploaded the data. You can use the paper clip icon in the INSERT section of the toolbar. It seems li...

4일 전 | 0

답변 있음
How to compare classifiers on different datasets?
I don't know that there is one best answer to this. I think that a useful way to think about it is to realize that what you rea...

5일 전 | 0

답변 있음
Unrecognized function or variable 'Newton_Starbucks'.
I searched the internet for "Newton_Starbucks". The only link I found was this one. If that's relevant, then it seems to me that...

5일 전 | 0

| 수락됨

답변 있음
How to break data in to groups using while loop?
Here is one way: matrix = [1 50 60 70 50 40 2 NaN 10 20 10 10 3 NaN 20 NaN NaN NaN 1 NaN 60 30 40 50 2 10 2...

6일 전 | 1

답변 있음
How to label the numeric values at the end of a stack in a stacked bar graph?
More of an editorial comment than just adding to the solid solutions that are already here, but I think a more economical (and m...

6일 전 | 1

답변 있음
help me to find error in this file?
The error seems to be that you are missing parentheses, or they are otherwise mismatched. We could guess at where they are missi...

7일 전 | 0

| 수락됨

답변 있음
Use data array with specific names
You are seeing first-hand why variables should not be named dynamically. If at all possible, this problem should be solved upstr...

8일 전 | 0

답변 있음
Finding the first index of a row where all integers of a defined list have occurred
I 100% agree with @John D'Errico's take on this, which is that any non-loop solution here is (probably) going to be sufficiently...

9일 전 | 0

답변 있음
How can I plot this X and Y data?
It's unclear to me exactly what you want to plot. That file has 10,048 data points. Here is one possibility, which puts a dot a...

10일 전 | 1

답변 있음
Way to solve AX=XB
This is a special case of the Sylvester equation. Looks like the sylvester function will be helpful for you. You might also be...

12일 전 | 0

답변 있음
linear mixed-effects model (fitlme) add array variable
I am by no means an expert on image processing, but one possibility is to preprocess your images to extract individual "features...

12일 전 | 0

답변 있음
post hoc tests for aoctool
After running aoctool and getting the stats output, you can simply run [results,~,~,gnames] = multcompare(stats) If you do tha...

13일 전 | 1

| 수락됨

답변 있음
Mat structure to csv
I downloaded the first file on that page, which is EXIOBASE_3rx_aggLandUseExtensions_1995_pxp.mat, and then uploaded it to MATLA...

13일 전 | 0

| 수락됨

답변 있음
Randomly select one value from an Array.
Here is one way to pull 30 random values (with possible repeats) from A. randomIndex = randi(200,30,1); new_A = A(randomIndex)...

13일 전 | 0

답변 있음
Unable to perform assignment because the size of the left side is 1-by-1 and the size of the right side is 1-by-120.
You haven't quite given us enough information about your code, because that little code snippet may or may not work, depending o...

13일 전 | 0

답변 있음
0.48 and 0.72 not detected in the array
Due to floating point precision, the values are not exactly 0.48. For example, load("varmat.mat","SessionData") SessionData.Co...

13일 전 | 1

답변 있음
What are the differences between integral and trapz?
Both functions perform numerical integration, but they use different methods. This is mentioned within the first couple of the d...

14일 전 | 2

더 보기