instruction stringlengths 9 38.7k |
|---|
I am trying to look at stock tickers. For example "MSFT" is the stock ticker for Microsoft. Using the package quantmod, an R package, I can get the latest 365 days of stock prices.
Each quarter a company will release their financial statements. The balance sheet, income statement, and cash flow documents. Now using the... |
I'm just wondering if someone could clarify something for me regarding spatial auto-correlation.
I've been reading up on Moran's I (global and local) and Gi* statistics, and saw that at the end of Anselin (1995) he writes
Firstly, the LISA generalize the idea underlying the Getis and Ord Gi
and Gi* statistics to a... |
I have estimated seasonal ARIMA(1,2,1)x(0,0,2) and then to test for heteroscedasicity transformed it to lm object with
x <- lm(residuals(m) ~ 1), with m = auto.arima(ts.loggdpq,stepwise=FALSE)
and ts.loggdpq is quaterrly, logged gdp data.
Testing for heteroscedasicity with bptest(x) resulted with
studentized... |
It know it's very general question but I'm wondering what kind of issues should I expect if the number of categories in my dependent variable (or even in predictor variables) are more than for example 10.
|
ARI takes values between -1 and 1. When I check the clustering result i got ARI = 0.21. What does it mean?. What is good ARI value?
can you recommend a good resource on ARI?
Thanks!
|
How would I begin to determine if my model is "identified" in SEM process? I've already completed step 1 for model specification where I have created the path diagrams showing connections between observed and latent variables. I'm not sure how to do the second step, model identification.
|
How can we know which degree polynomial is the best fir for a data set composed of one predictor and one variable? And how can we evaluate them?
I have developed the linear regression and then went up to the third polynomial degree, but I just need to make how to assess the goodness of fit?
|
In R, there are packages and functions for MCMC's such as jags.model that allows us to control the number of chains we would like to run, i.e., within jags.model, we can set n.chains = 4 for $4$ chains. The resulting traceplot is multi-color as it traces out the posterior estimates for four separate chains. My question... |
[As often happens when I have a question, in properly preparing to ask this one, I answered it myself. Nonetheless, I think this question is worth having an answer to on site]
I've read several times that "the lognormal distribution is not uniquely determined by its moments".
(For example, see the Wikipedia article on ... |
I am interested in taking the mean average precision metric which is primarily a performance metric (high is good, low is bad) into an error metric (high is bad, low is good). Because mean average precision is between 0 and 100 can I simply take 100 - mAP? If not why can this not be done, and if so then what would the ... |
My understanding of the differences between MH and Gibbs Samplers is that a Gibbs Sampler is usually used when the full conditionals are present to us. In other words, it is a known distribution, so that sampling from it is just as easy as calling a function in R.
I would usually use MH if the conditionals are not wel... |
In our machine learning class, we were given an example of a naive bayes classifier. Say, you classify a day as being good/bad depending on 2 conditions (the "X" input) - weather(X1 - hot/cold) and wind(X2 - high/low). Using bayes theorem and the naive assumption-
$$P(Y = good | X1X2) = \frac{P(X1X2|Y)*P(Y)}{P(X)} = \... |
I understand we can calculate the correlation using Pearson Product-Moment Correlation from two list of data points. But if I have a new pair of data points, what math formula can I use to update the correlation value without re-calculate the whole things? Something like existing_cor_value + [formula]?
|
I want to run a factor analysis in R (using lavaan), however, some of my variables are categorical/nominal (e.g. Yes, Yes but..., No, No but...)
I'm wondering whether its more appropriate to:
Calculate the polychoric correlation matrix and use that as the input data to lavaan. Then interpret the results like normal or... |
I'm aware of the mathematical definition of complete statistics, but I'm pretty confused about what does the completeness really mean. It would be better to have a practical example from you guys.
Regards,
Li
|
I am using a sample of roughly 325,000 immigrants from the American Community Survey to assess the impact of years in the U.S. on income levels. I ran the Breusch Pagan test on my regression model but the income levels are heteroscedastic because there is a strong left skew.
To correct for this, I ran my regression wi... |
In R, I am fitting a model using the multinom() function from the nnet package. There is only 1 response variable and there are >2 classes. When I have a model with >3 classes, there's an error that says there are too many weights, so I'm using 3 classes: 0, 1, and 2 (categorical variables). The output from multinom() ... |
I'm trying to evaluate my different feature scoring methods with the same data by cross-validation.
I used svm for both approaches, the only difference is the scoring method for each feature. e.g. feature1 scored 0.8 in method 1 and maybe 0.9 in method 2, etc. I want to know which scoring scheme is better by looking at... |
The Hamiltonian dynamics always outperforms than random walk in Metropolis algorithm in some cases. Could someone explain the reason with simple words without too much mathematics?
|
I know this question has been asked previously but the answers didn't satisfy my query.
Why choose gradient ascent instead of gradient descent when our aim is to minimize the cost function when we know that gradient ascent will maximize the cost function. Andrew Ng himself used gradient descent for logistic regression ... |
My friend is conducting a study on solar cells. The results obtained were the current (ampere), voltage (V), and resistance (ohms). Then, there were three dyes that were used: Dye 1, Dye 2, and Dye 3, and we recorded three trials for each dye. What statistical method should she use for comparative study?
|
If we have an initial learning rate high enough and a suitable decay factor for exponentially decaying the learning rate over a certain number of epoch, is it still need for us to manually explore the learning rate? Because if all goes well I believe the learning rate can automatically be sampled over a huge range of e... |
I have a few questions related to the same topic:
Imagine you have a game (e.g. chess), where every time you win you gain some skill rating (SR), and every time you lose, you lose SR. If, however, you go on a winning streak (defined as winninng 2 or more games in a row) the SR you gain from each win increases as a func... |
I am trying to fit ARIMA model on a monthly data. I checked for stationarity, it was not stationarity so I tried to difference, but this is the error message I got:
>Error in `if (k < 0) stop("k negative")`:
> missing value where TRUE/FALSE needed
Here is my code
>>>>>>>>>
#...create a monthly time series data
at... |
I am trying to find a way, to investigate differences between conditions in an experiment. The design is as follows:
Depended Variable: Logical (answer is correct [correct accepted or correct rejected] or false [falsely accepted or falsely rejected), with a 50% guessing rate.
Independent Variable: 1 Factor (11 differe... |
I have searched far and wide for a non-parametric test for the 2x2 between subjects MANOVA I would like to do. So far I have found non-parametric equivalents for factorial ANOVA with corresponding R packages (see here). Does anyone have any ideas on how to do the same analysis, but with multiple DVs?
|
I am doing a research proposal. I am testing a new treatment combination in the experimental group and my control group only get placebo. I am planning to collect interval inferential data (blood test) and analysing it with T-test. Is T-testing the best way to analyse it? How can I justify why I chose this tool?
|
Per Norman and Streiner, in a path diagram, for a manifest variable, square of "disturbance" and "path coefficient" are supposed to add up to 1.
So, how come in this image below from this web page, they are not adding up to 1?
|
I designed a neural network for a regression task with the following parameters:
42 inputs (I tried to reduce them with PCA but results are similar)
300 hidden neurons with ReLu activation
15 output neurons with tanh activation
batch size 20
RMSProp optimizer
mean square error for the cost function
0.01 learning rate
... |
I have a dataset where one independent variable indicates which person we are talking about. There are only two persons involved, so it's either person 1 or person 2.
When does one fit a model which takes data from both persons (where "Person" is a factor), and when does one fit a model for each person individually? Wh... |
I'm trying to train a decision tree and use cross validation doing so.
(this post is quite helpful already understanding CV.)
First I did 10-fold cross validation on my data, including all attributes, with certain parameters. Then, let's say I was happy with the results of the CV, I used the whole data to train a deci... |
Provided that I have a similar example:
where the blue data is my calculated/measured data and my red data is the given groundtruth data. The task is to get the similarity/closeness between the data and each of the given curves so that a classification can be done, it could also be possible to choose multiple classes i... |
I have a bunch of data containing response times of a network service. I want to use that data to predict future down times. Before a service goes down the response time will increase about 1-45 minutes ahead of time. I have a response time every 3 minutes and I would like to predict if a certain increase in response ... |
I have a problem I can't wrap my head around and I fear it has a simple solution :-) Apologies if this is the wrong site to ask this question.
I have data as the following
A B
55 25
35 12
12 NA
6 12
2 53
NA 69
NA 66
NA 45
NA 43
NA 2
df <- data.frame(A = c(12,35,55,2,6,NA,NA,NA,NA,NA), B = c(NA,12,25,53,12,2,66,45,6... |
I'm trying to make sense of the Wasserstein metric, it says in wikipedia
Say the marginal distributions $\mu$ and $\nu$ are given, what properties does a joint distribution from the two need to satisfy? For example like $\mu(x)=\int p(x,y)dx$ and $\nu(y)=\int p(x,y)dy$?
|
I am interested to know which would be a best method to cluster the numerical vectors.
For example:
v1 = 1,2,3,4,5,6,5,4,3,2,1
v2 = 10,11,12,13,14,15,16,15,14,13,12,11
v3 = 10,9,8,7,6,5,4,5,6,7,8,9
I am interested to cluster the vectors, based on the pattern or distribution of values. For example, vector 1 and 2 has h... |
I have very noisy data and I would like to build linear regression model to predict the output and afterward interperate the model. Currently I'm using Lasso regression, where uses square loss function. I was wondering what would be the best loss function for noisy setting? Is there any rule of thumbs that I can choose... |
I have recently come across this post on Median Absolute Deviation (MAD). The Wikipedia article here, by the article as an estimator Standard deviation of the distribution is 'k' times MAD, where the value of 'k' is dependent on the distribution. For a normal distribution the value is approximately '1.4826' for k. Now,... |
I have an independent variable and a dependent variable. The dependent variable is about $0$, and is often precisely $0$, but $0$ is also the value given to the response when data has been missing.
All I know is that if data is missing for one value (say, $x$) of the independent variable, then it should also be missing... |
I am having a task of assigning a score from 0.0 to 1.0 to images. For this I have made use of already learned models meant for classification of ImageNet competition like VGG, SqueezeNet etc. From the output of the convoluted layers of this models, I have added my own 2 or 3 dense layers (fully connected layers), with... |
In most of the IS (Information Systems) papers I read, the authors do not use a global test set, but only cross-validation and present these results. They reason this makes sense because they have a very small n, e.g. in Text Classification (n=400,p=3000). Is this approach correct?
This question was partly asked alread... |
I took statistics some 25 years ago, and remember that if students take a test, then the test scores actually form a bell curve.
But somebody claimed that for Pokemon IV: a random number from 0 to 15 is given to 3 properties: attack, defense, stamina, and the final concern is the percentage:
(attack + defense + stamina... |
Assume we are throwing $n$ balls randomly into $m$ bins, according to the probabilities $p_i$ associated with each bin. The multinomial distribution describes this situation, and we can calculate the probability of measuring $x_i$ balls in bin $i$.
Now assume, we are given a different set of counts $x_i$ and we know $n... |
The scenario: 54 participants partake in an experiment containing 4 trials (each participant does each trial). In each trial, the participant is presented with a random instance of a categorical stimulus from one of 6 categories (a-f), and provides a categorical response (a-f). The aim of the game is to identify the co... |
I am trying to learn data in higher space into lower space. To have a clue, I'd like to know how to transform the data in the image below into a lower dimension preserving the structure. Hope to hear some explanations and what should I study to learn mapping data to lower dimension?
|
I wanted to make sure I do not mis-specify anything, so all challenge or recent econometric books/sources are welcome. I will be using R (and most probably the well established vars package)
The model
I have a definitive set of exogenous variables for which I will have expert forecasts for, up to h=3.
X1,...,X7
I hav... |
It is apparently a common practice to use ROC as a feature selection method in my new job. They test the variables one by one against the response and anything with ROC<=54 is tossed aside.
Would you say that this is a good practice? I'm quit skeptical as I would have rather used ensemble learning in order to incorpor... |
I am not yet very good friends with R, but I hope to be! Right now I'm having a lot of troubles with fitting a model to a set of data.
My data looks like:
data <- as.data.frame(cbind(c(0,5,10,15,30,50,60,90,120,180,240),c(0.48, 1.15, 1.03, 1.37, 5.55, 16.77, 20.97, 21.67, 10.50, 2.28, 1.58)))
colnames(data) <- c("time... |
I have asked around my local network, but no one seems to be able to point me in the right direction.
I was a High School football coach for about 10 years, but now I am self employed and am doing some analytical work for some local football teams.
Anyway, in football when breaking down an opposing teams offense, you h... |
Should an ARMA model always include a constant term?
And if not, when is it appropriate to drop the constant?
|
The response variable in my data set is what % of income households spent on a bunch of categories. So, the response variable is essentially a discrete probability distribution $[p_1, ..., p_k]$, where $k$ is the number of categories. Apart from this response, we have of course some independent variables, like the hous... |
Consider the following example:
df <- data.frame(y=c(0.4375, 0.4167, 0.5313, 0.4516, 0.5417, 0.5172,
0.1500, 0.5161, 0.5313, 0.5000, 0.4839, 0.3871,
0.3125, 0.5313, 0.4063, 0.5517, 0.3871, 0.7188,
0.7188, 0.5484, 0.9375, 0.5938, 0.4375, 0.8750,
... |
In the experiment we measure some parameter $y$ as function of other parameter $x$ at different times (conditions) obtaining ${x_i,y_i}$. However the datasets seems to depend on time when we have taken them, but I have no tool for prove or disapprove my hypothesis. Are there any?
For simplicity lets consider two datase... |
I'm a software engineer, and I have just started a Udacity's nanodegree of deep learning.
I have also worked my way through Stanford professor Andrew Ng's online course on machine learning and now I'm comparing.
I have a big doubt about Gradient Descent with sigmoid function because on Andrew Ng's course it is differe... |
I'd like to preface my question by saying that I understand that the reason for introducing a regularization term to the training criterion is to avoid overfitting, with the effect that (usually) model performance on the test set is improved, i.e. the goal being to increase the model's 'generalization' capacity.
Howev... |
I have started to work with regression models for angular data. In particular with the package circular in R.
I checked previously in this forum if there was something analogous to Pearson R-squared for angles. As it was not completely clear I read the literature about the topic from Sarma and Rao Jammalamadaka (1993... |
I am training a simple convolutional neural network for regression, where the task is to predict the (x,y) location of a box in an image, e.g.:
The output of the network has two nodes, one for x, and one for y. The rest of the network is a standard convolutional neural network. The loss is a standard mean squared ... |
If events A, B, C with probabilities 0.2, 0.4 and 0.3 respectively are all mutually exclusive, would the intersection (ie. A ^ B ^ C) be equal to 0? If, so that would make P(A^B) = 0 as well right?
Any help with this would be great!
|
Setting a proper cost objective function is critical to design a machine.
In applications, it maybe is impossible to compare every different cost functions because there would be really many if one goes in detail.
So where do you think that I can find such a good reference to learn the basics of different cost function... |
I am running regressions on census microdata. So far I have been using weighted least squares regressions with standard errors calculated from replicate weights, but I have been asked to consider using GEE to account for correlated disturbances created by multiple points coming from the same household. I have done a ... |
I am trying to approximate a set of quantiles from the estimated mean, variance, skewness and kurtosis of a random variable with unknown distribution. I tried to apply the Cornish-Fisher expansion of level 3, however, I run over the problem of non-monotonic patterns of estimated quantiles. According to Chernozhukov, I.... |
Consider that the probability of rejecting a governmental fund for a small business in a city is 4%. If the business is large, the probability that its fund will be rejected is 12%. Assume that 90% of businesses in this city are small.
a) what is the probability that business fund in this city will be rejected?
I feel ... |
I am new to the field of vision. To get a good understanding of the concepts, I wanted to look at source code of some CNN.
Can anybody suggest some place where I can find implementation of simple CNN like LeNet 5(preferred as I'm following it's tutorial) from starch in Matlab or python not using any library like tensor... |
I am new to neural networks (NN), so far I have been playing with the International Airline Passengers time-series dataset. To feed the NN, I transformed the data from:
ti
ti+1
ti+2
ti+3
...
to look like:
ti ti+1
ti+1 ti+2
ti+2 ti+3
...
and then feed the NN with the latter.
Now I would like to train neural networks o... |
There are several sources of temperature-dependent viscosity data, which goes as following:
|:--------------------------------|
| 273.15 | 320.5 | 330.25 |
|---------------------------------|
| 1.2570 | 0.957 | 0.8855 |
(The above data is just an example. In real data there is about 20 points for each compound) ... |
For the following model
$y_t = \beta e^{h_t/2} \epsilon_t$
$h_{t+1} = \mu + \phi(h_t - \mu) + \sigma_n \eta_t$
this Kim et al (1998) paper writes that
For identifiability reasons either $\beta$ must be set to one or $\mu$ to zero
Why is that? (to me this is not immediately obvious)
|
I have a data set of words for which I've calculated the average frequency of every letter (e.g., the letter "a" accounts for 9.8% of letters).
I also have letter frequency data from Wikipedia (https://en.wikipedia.org/wiki/Letter_frequency) that shows the instance of letters for "all" English words.
What I want to do... |
I have an "partially" full factorial designed experiment (3 factors) that looks like this (both VAR1 and VAR2 are numeric factors):
As you can see, Population A and B share all of VAR2 levels and the "0" middle level of VAR1. Is there a name for this type of design?
The model would be
Model: Y = B0+ B1*VAR1 + B2*VAR2... |
I was reading this book about deep learning by Ian and Aron. In the description of DBN they says DBN has fallen out of favor and is rarely used.
Deep belief networks demonstrated that deep architectures can be
successful, by outperforming kernelized support vector machines on the
MNIST dataset ( Hinton et al. , 20... |
I'm looking for some references on creating effective graphs/data visualizations.
I've found a bunch of books that show how to create data visualizations using certain tools (like R/ggplot vs python/pandas) but that's not really what I'm looking for. I'm looking for a reference that explains different types of charts ... |
I'm estimating a multilevel longitudinal model in lme4, using publicly available survey data. The data include sampling weights, and there is substantial missing data (over 27%). I understand multiple imputation is inappropriate here, because I don't have information on all domains used to generate the sampling weights... |
I am tasked with evaluating the performance of an image classifier which is based on a very high-level API. I only have access to the predicted label values for the training and validation data set.
There is a total of 8 labels and each image can be assigned multiple labels, so, for example, the actual output vector y... |
I have only heard about dropout being applied to training of neural networks. Could the same technique, in theory, be applied to any iterative ML algorithm? For example, in mini-batch training, each mini-batch iteration could randomly drop out some arbitrary features. Has this been tried for, say, logistic regression w... |
Is it possible to construct a confidence interval for a set of means, from samples with equal numbers of observations, if the standard errors of those samples are unknown?
|
I am running exponential regression on my data, but when trying to plot the curve I get a Inf problem because the independent variable values seem to be too high. How can I solve this in order to be able to plot the real values of the independent variable and the regression line incl standard errors in the same plot?
... |
I am running a logit regression on a dataset with only 2 independent categorical variables, country and device type. Both of these variables can take several values. The dependant variable is binary. The event occurs approximately 0.2% of the time.
For certain countries, the coefficients are significant, but I do not h... |
I have an LDA (latent dirichet allocation) model trained over a corpus of documents, where each document is associated with a political party. I'd like to arrive at $p(w|z,party)$ for each word $w$, topic $z$, and party $party$.
From the output of LDA, I have a distribution over topics for each document (i.e. $\theta$)... |
Somewhat newbie question here. I'd like to use ggplot2 to plot my multiple regression model, but I ran into an error. I did some research on the forum before deciding to ask the community.
I understand how to plot a simple linear regression:
ggplot(data, aes(x=X, y=Y))+geom_point()+
geom_smooth(method='lm',formula=Y... |
I'm trying to figure out a starting point for conducting statistical analysis on chemical composition of different bars of metal. I have data from about 150 different bars made over the course of a year. Because these bars are final product, I can only take samples from the top and bottom. Currently, we take three rand... |
I'm learning logistic regression on Coursera.
In the class, we say the logistic regression model is $h_\theta(x) = p(y=1) =\frac{1}{1+e^{-\theta^Tx}}$. When making predictions, we say that $y=1$ if $h_\theta(x) \ge .5$ and $y=0$ otherwise. The cost function we use to find the parameters $\theta$ given the training set ... |
I have a dataset where I'm trying to predict a student's percentage score on a school exam from some other collected IVs. I'm wondering how to correctly run this analysis in R.
A few related questions:
First, I've seen a number of questions on this topic (e.g. What are the issues with using percentage outcome in linear... |
I am trying to find the partial derivative of univariate normal cdf w.r.t $\sigma$. I just need some direction. So far I have gotten this:
$\frac{\partial }{\partial \sigma}\Phi(x,\mu,\sigma^2) = \frac{\partial }{\partial \sigma} \displaystyle\int_{-\infty}^x \frac{1}{\sqrt{2\pi}}\exp\left(-\ln(\sigma)-\frac{(x-\mu)^2}... |
I came across a problem for Gibbs sampler.
Suppose I want to draw samples from $f(x,y,z)$, Can I use the following scheme to draw samples?
Step 1, draw $f(x^{2t-1},y^t|z^{t-1})$.
Step 2, draw $ f(x^{2t},z^t|y^{t-1})$.
Then, after $T$ steps, we have $2T$ samples for $x$, and $T$ samples for $y$ and $z$.
Is the above pr... |
I've been reading about simple linear regression $y = \beta_0 + \beta_1 x + u$. The following proof from Wooldrige's Econometrics confuses me.
Theorem: $E(\hat{\beta_1})=\beta_1$ for any values of $\beta_0$.
Proof: In this proof, the expected values are conditional on the sample values of the independent variable....
... |
While I am studying Maximum Likelihood Estimation, to do inference in Maximum Likelihood Estimaion, we need to know the variance. To find out the variance, I need to know the Cramer's Rao Lower Bound, which looks like a Hessian Matrix with Second Deriviation on the curvature. I am kind of mixed up to define the relatio... |
Could you please suggest a distribution that could satisfy the next requirement?
Distribution 50% of trees concentrated near one point of park, other 50% just cover the park(not concentrated). Using [x,y] coordinates
|
I'm doing a multiple regression with 5 continuous predictors and 1 continuous outcome variable. I've already removed a small handful of univariate outliers (n = 5), leaving my total sample size at N = 95.
However, when I run my regression, I end up identifying many multivariate outliers that exceed the Mahalanobis dis... |
This question is regarding cross validation and prediction with regularized logistic regression, so by parameters here I mean the beta-coefficients for each predictor variable, for output I get predicted probabilities of belonging to a group, and for performance measure I use AUC. I am using glmnet on matlab.
For my tr... |
I have a datasets containing features and a response. I want to find the global minimum in this dataset. One way is to estimate the relationships among data by a regressor and then use optimization algorithms like PSO or GA.
I am confused because I think ones can find the minimum of responses and report its features a... |
I am confused about how exactly cvglmnet calculates the "optimal" hyperparameters (specifically, lambda.min and lambda.1se).
As far as I understand, k-fold cross validation in itself doesn't give us an "optimal hyperparameter", but rather an estimate of the model's overall performance on other datasets. And cross-vali... |
Given that $Y$ is exclusively dependent on $X$ and that $Z$ is exclusively dependent on $Y$, I would like to state that
$p(z|x,y)=p(z|y)$.
This makes intuitive sense because knowing $x$ in addition to $y$ does not seem to add any further constraints to the conditioned sample space
Is this correct? If so, what is the ... |
In case of a regression problem we usually plot the features against the target variable to see the trends of the data, and analyze them.
But when we have a classification problem visualization does not seem to show trends. What kind of analysis should be done in order to understand the feature characteristics?
|
I am using Discrete-time Unscented Kalman Filter UKF to directly approximate the log-likelihood and its gradient, to be used in the identification of my continuous-discrete dynamic model.
It is to be noted that all the simulations were carried out by MATLAB where the
true states of the my model are obtained by solving ... |
I am trying to construct prediction intervals for a non linear model via Boostrap. What I do is to apply the usual bootstrap procedure, here you have pseudo-code for 1000 iterations:
for i in 1:1000{
1.- Sample with replacement the in-sample data
2.- Fit the model
3.- Predict out-sample and store results
}
T... |
With my 37 base features, I obtain a PCA 7 components whose explained variance is 62584.661. Below is my code (I use scikit-learn):
>> pca = decomposition.PCA()
>> X = set_1.to_dataframe().drop(['user_id', 'TARGET'], axis=1)
>> pca.fit(X)
>> print pca.explained_variance_
[6.14280876e+04 4.54217662e+01 2.7298943... |
I have been doing some Machine learning research on Microarray dataset. So, I downloaded breast cancer dataset from "http://datam.i2r.a-star.edu.sg/datasets/krbd/BreastCancer". The problem here is , this dataset is partioned to "test" and "Train" set. So I have few questions related to this.
1) Why do they want to part... |
For simplicity let's say that M consists out of two elements: A and B.
The weighting of A is w(A) and of B it is w(B). Hence w(A)+w(B)=1.
Both weightings are given. Also given is Var(A), Var(B) and Cov(A,B).
What is Cov(A,M) and Cov(B,M)?
|
My data has 1700 rows and 7 features. I have built a linear regularized (Lasso) model (since I started with around 600 features which were highly correlated).
After choosing the best model, I observe that there is drift trend in my residual plot.
Now this kind of trend violates normal error assumption of linear regre... |
I have a dataset where I'm training a neural network to discriminate between 4 classes. The class distribution on the dataset is as follows:
Class 0: 0.516
Class 1: 0.159
Class 2: 0.235
Class 3: 0.088
It's clear that class 0 is over-represented. Conversely, class 3 is almost non-existent in the dataset. These dist... |
How exactly can I go from the top blue to the bottom blue equation in the blue box of the picture below. I have marked the part with red arrow. The lecturer says that we can go from the top blue to the bottom blue equation using zero conditional mean, in other words, errors are independent of $x_i$.
Why does the Expect... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.