Statistica
29 Domande
0 Risposte
RANK
100.457
of 295.467
REPUTAZIONE
0
CONTRIBUTI
29 Domande
0 Risposte
ACCETTAZIONE DELLE RISPOSTE
41.38%
VOTI RICEVUTI
0
RANK
of 153.912
CONTRIBUTI
0 Problemi
0 Soluzioni
PUNTEGGIO
0
NUMERO DI BADGE
0
CONTRIBUTI
0 Post
CONTRIBUTI
0 Pubblico Canali
VALUTAZIONE MEDIA
CONTRIBUTI
0 Punti principali
NUMERO MEDIO DI LIKE
Feeds
Domanda
how to check if the coefficients received from lassoglm are significant?
I performed a logistic regression with lasso penalization. Without lasso penalization using glmfit I receive the p-value in the ...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How can I test whether one classifier is significantly better?
I have a dataset consisting out of two classes. I try to classify the dataset using different classifiers. I want to test whethe...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
how to sort the rows of a matrix?
I have a matrix RG_table with two columns. I want to sort the rows of the matrix in descending order depending on column 2. Colu...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How to plot an example for overfitting with matlab? (example image in the description)
I want to plot something similar to these three graphs <https://cdn-images-1.medium.com/max/1600/1*JZbxrdzabrT33Yl-LrmShw.png...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How can I plot 2 rings in 3D?
I want to scatter 2 rings first in 2D and then in 3D. In 2D one circle should lie within the other. In 3D one circle should lie ...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to compute the integral?
I have a few lines of code yielding an output value R. I want to compute several values R for different alphas. Then I want to c...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How to construct a binary logistic classifier?
I have a matrix X containing features and a vector y containing the labels. How can I perform logistic regression and compute th...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How to plot the occurency of an element?
I have a vector period, which considers 10 periods. I have another vector a, where some of the periods ocurr multiple times, oth...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How do I get the distance between the point and the hyperplane using libsvm?
I am using libsvm. I need to know, which observations are farest away from the hyperplane. libsvm returns me the "decision_value...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to optimize the parameters using libsvm?
Libsvm FAQ suggests this piece of code: bestcv = 0; for log2c = -1:3, for log2g = -4:1, cmd = ['-v 5 -c ', n...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How can I do crossvalidation and oversampling with an imbalanced dataset?
I have an imbalanced dataset, with very few observations belonging to category 1 and a lot belonging to category 0. Therefore I ...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Avoid loop for equality
I have a variable h = 2:2:8 I want to have 4 output variables depending on the 4 differnt h A = y(s==h(1),:) As...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Store result of three nested for loops
I have a matrix X consisting out of variables of 50 period (loop 1). I want to do a forecast for different time horizons: 2,4,6,...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Index with for loop variable name and definition
I have a matrix A and avector y. I want to create a loop which names and defines them the matrix A from A1,...,A10. for i =...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Replace NAN in matrix with empty cells and reshape to matrix
I have a matrix X with several NAN values. I want replace the NAN with just blank cells, not zeros. Then I want to end up with a...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How to import a 50mb csv file?
I have a csv file of size 50mb. The data is numbers and strings. I tried to import it using the import button in matlab. Now the...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
What is the predicted score and how can I use it for the distance of the datapoint to the hyperplane?
I am coding a support vector machine. When I try this code [label,score] = predict(Model,X_test_best_feature); then I g...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
How can I compute the distance of any datapoint to the decision boundary of a SVM done with fitcsvm?
I want to compute the distance of every datapoint to the decision boundary. I build the SVM with fitcsvm with an rbf kernel.
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to store loop results where loop does not have whole numbers only
I want to store the loop results, however my loop is not only whole numbers. In the code you can see what I want to do, but it d...
oltre 6 anni fa | 2 risposte | 0
2
risposteDomanda
Repmat a vector n times where n is not a whole number
I have a vector y consisting out of 10 elements. I want have a for loop, where I repmat the vector y to a new vector. However re...
oltre 6 anni fa | 2 risposte | 0
2
risposteDomanda
How can I check if a condition holds?
I want to find the elements where the following condition holds: 0<x and y=1. x and y are arrays. How can I find the rows w...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to sum elements in a matrix rowwise for specific columns only?
I have a matrix X, consisting out of 100 rows and 10 columns. I want to sum up columns 7 to 10 to one single number, yielding a ...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Support Vector Machine: Feature selection with sequentialfs()
I want to programme a support vector machine. I have 60 features. Using the function sequentialfs() it goes either forward or ba...
oltre 6 anni fa | 0 risposte | 0
0
risposteDomanda
Randperm same sequence each time you run the code
Is there a possibility to have each time the same random permutation when you run the code to make results comparable? ...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
Count rows > target value
I have a matrix A with observations (only two in the example) in the rows and features (five in the example) in the columns. I w...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to get the opposite elements of a vector specified by an index?
I have a variable s picking 70 random numbers from 0 to 100. Now I want to have all 30 elements of the vector a, which are not i...
oltre 6 anni fa | 1 risposta | 0
1
rispostaDomanda
How to use Monte Carlo Simulation in a linear regression?
I have a linear regression model with a lagged dependet variable: y_new=beta1+beta2*x+u n=4; %sample size u=normrnd(0,1,...
quasi 7 anni fa | 1 risposta | 0
1
rispostaDomanda
Monte Carlo simulation of a linear regression model with a lagged dependet variable
I have a linear regression model with a lagged dependet variable: y_t=beta_0 + beta_1 * y_{t-1} + u_t The initial starting poi...
quasi 7 anni fa | 0 risposte | 0
0
risposteDomanda
How to use just one output out of a function with several outputs in an equation?
I have a function with three outputs depending on x. I want to use one of these three say B(x) in an equation: function [ A...
circa 7 anni fa | 1 risposta | 0