Statistics
3 Questions
0 Answers
RANK
239,772
of 300,942
REPUTATION
0
CONTRIBUTIONS
3 Questions
0 Answers
ANSWER ACCEPTANCE
66.67%
VOTES RECEIVED
0
RANK
of 21,116
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 171,806
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
Hi, i would like to run the data sets: data,data1 and data2 through this for loop. It seems to be looping 11 times for the 11 parts of the data set instead of 3 for the for 3 data matrices and as a result giving wrong values. my for loop incorrect?
const = ones(82,1); data = [const VOL HP SP WT]; data1 = [const HP WT]; data2 = [const SP WT]; i = 1; for k...
9 years ago | 1 answer | 0
1
answerQuestion
Hi, i want to run this for loop data, data1, data2 arrays and have the variables R2 and R2_adj to be saved for every iteration. Ive had a lot of trouble with this and any help would be appreciated.
mpg = importdata('carmpgdat.txt', '\t', 1); VOL = mpg.data(:, 1); HP = mpg.data(:, 2); MPG = mpg.data(:, 3); S...
9 years ago | 1 answer | 0
1
answerQuestion
Hi, i have this error when running my regression programme: Error using - Matrix dimensions must agree. Error in mpg_regression (line 55) X21 = X11-mean(X11); My arrays are all 1x82 (i checked using disp(size())). Any help would be appreciated.
mpg = importdata('carmpgdat.txt', '\t', 1); VOL = mpg.data(:, 1); HP = mpg.data(:, 2); MPG = mpg.data(:, 3); SP = mp...
9 years ago | 1 answer | 0
