instruction stringlengths 9 38.7k |
|---|
This question is in similar spirit to Probability distribution in data mining
I am going through some material online, and the source says that given a set of training data and labels $\{(x_n,y_n)\}$, $n = 1, \ldots, N$, we make the assumption that:
$x_n$ is generated by some "distribution" $P(x)$, or written as $x \si... |
I have an array of data - arr = c(1,2,3,4,5,6,1,2,3,4).
I draw a histogram and get the following graph
The frequency of 1,2,3,4 is going to be 2 for each of those numbers, but the graph shows different result — it shows 4 for the bin between 1 and 2. Can someone explain why ?
Also, if I plot the probability density fu... |
Psychology masters thesis: One predictor variable (3 total) shows a slope coefficient of 0 on a partial regression plot.
Do I need to transform this
If so, what transformation is recommended and
do I then need to transform all the predictor variables and the outcome variable?
I am fairly new to this so would be very... |
I came across the following question during interview preparation.
"Randomly select 10 without replacement from 1000 people, what is the average number of selections it takes to get one person selected?
Randomly select 10 with replacement from 1000 people, what is the average number of selections it takes to get one p... |
For a classification problem (based on news summery, put news articles into 4 classes), we built a linear SVC model, trained with 120,000 data and tested with 7,600 data. The result is:
Accuracy = 0.9134210526315789
Weighted Precision = 0.9134148091865167
Weighted Recall = 0.9134210526315789
F1 = 0.9132905479246967
The... |
How do we perform cross cluster analysis in R. Most of my data has categorical variables {variable Marital Status (married, single, divorced); variable Education (tertiary, secondary, primary, etc.); and the variables Credit, Mortgage, and Loan (yes, no)}? The only interval variable in my data set is the Age.
|
So basically my study is on a single country with a 10 year time period. The sample is of several companies of that country. My independent variables are of two kinds, one is country-specific macroeconomic and the others are company-specific financial. The dependent variable is also company specific. I am trying to fin... |
I have dataset matrix of 100 nodes that present workstations in network. I analyzed their presence durring 24 hours and looked for similarities between nod presence.
you can see that nod in column C have high uptime and it s 100 % available for first 3 nodes (row 2,3,4) but for this nod (first row column c) this firs... |
I'm trying to learn LSTMs and I thought a nice way of doing it would be identifying onset-and-offset of QRS complexes on ECGs.
I have 300 x 200 x 2 numpy array of ECGs (300 ECGs, each of 200 data points, each data point being [x=time,y=voltage]. Sometimes it's 0 padded at the start (like the example below) as ECGs can ... |
I want to understand the algorithm of recursive feature eliminiation (RFE) combined with crossvalidation (CV). An original source by Guyon et al. on RFE can be found here.
My understanding of RFE: We train our classifier - say a linear Support Vector Machine - first with all features. This gives us a weight for each f... |
This is more of a theoretical exercise, but it may have practical value.
Assuming I have 2 variables, x1 and x2, and a binary outcome that, when plotted, look like in the picture below (red means outcome = 1, blue means outcome = 0). A decision tree does a great job in predicting the outcome.
What statistical test /... |
I have a dataset for a lot of subjects (current testing dataset around 3000 subject, actual number is a lot bigger >40000).
Each subject has 13 variables. The data was measured once per year for 11-13 years (depends on the subject).
What machine learning technique should I use, to be able to forecast these variables fo... |
I have fitted a logistic regression and I would like to check for spatial autocorrelation in the residuals of the model. Is it statistically correct to implement the Moran's test using the residuals of that model?
Here is an example (in R) to illustrate my question.
# Load packages
library(sp)
library(spdep)
# Get sp... |
I have an experiment that can be thought of in this manner:
I have two rooms and in each room I have two buttons: one red and one blue. One of the rooms is painted blue and the other is painted red. I send 2000 people through the rooms, 1000 each, and they press a button.
I want to test if there is a difference in the ... |
Say we are training a radial SVM with parameters $C$ and $\gamma$. We would typically do this using grid search and CV. My prof. alluded that one does not have to exhaust all of $C$ values in the grid to obtain the optimal solution and I'm sure the popular packages don't search over all $C$ values either for the sake o... |
I have calculated my main data, according to good manners with numbers it has as many decimal numbers (two in this case) as the data we collected in measurement. But the associated uncertainty I calculated has first significant number at sixth place.
How should I state it? Could it be like $5.25$$\pm$$0.000003$?
PS: I ... |
I am having a data set with 54 independent variables .Most of them are having zeros it resembles like sparse matrix .How to cluster this kind of data and is there any data pre processing like Box cox tranformations needed to be done? Here I am attaching pca plot
|
Consider a probability distribution with support on $[0,1]$. Suppose the first $n$ raw moments $m_1,...,m_n$ are given. What are the constraints on the $(n+1)^\text{th}$ moment? Obviously we have the loose bounds $0\leq m_{n+1}\leq 1$. Better yet, using the monotonicity of moments, we have that $m_{n+1}\geq m_n^{(n+1)/... |
I am a linguistics graduate student, and I'm a bit lost regarding statistics. I'm performing a quasiexperiment, where I have three groups separated using a categorical variable (voice heard). Every person in each group listens to 40 sentences, which can be categorized according to two variables, predictability and inte... |
In some clustering algorithm, ex: K-Means cluster, it is very sensitive with outliers, so we need to remove outliers before aplly K-Means, or it will be bad clustering. So :
How can we know some points are outliers if we can not plot it ( high dimension data ) ?
how can we know its K-Means model is good or bad ? Becau... |
Apologies in advance for any vagueness in the question. Please let me know if clarification is needed.
If a control group has a 33% payback rate on a loan, and an experiment finds that a treatment group had an 8% increase in probability to pay back a loan, can I simply do .33*.08 to extrapolate what the payback rate of... |
I have a dataset of format :
day,measurement1,measurement2
1,a,b
1,a,c
1,f,s
2,a,b
2,a,c
2,f,g
3,a,d
3,a,q
3,f,s
In this example day1 is more similar with day2 than day3 as both share measurements : a,b a,c . There is no ordering to this dataset.
How to compare the simmilarity with each day based on it's two measurem... |
I need to simulate an AR(1) process with the following equation in R:
$$
X_{t} = 5 + 0.5X_{t-1}+Z_t
$$
Where $Z_t$ ~ White Noise(0,1) and $T=500$.
I know I should be using the arima.sim function from the forecast package with parameters n = 500 and ar = c(0.5) but I do not know how to account for the $ \delta = 5$ or ... |
I am trying to model the effect of 3 continuous predictors on a binary choice outcome. These data come from an experiment in which multiple subjects were ran in a task containing multiple trials (hence the random intercept of subject, and the random slopes for each predictor). Suppose I have these three nested linear m... |
I could not understand the reason why PRML (Pattern Recognition and Machine Learning by Christopher Michael Bishop) says:
An interesting property of least-squares solutions with multiple target variables
is that if every target vector in the training set satisfies some linear constraint
$$ a^\top t_n+b=0 \tag{4.18... |
So I am attempting to build a model using quantile regression & am using stepwise regression for initial data exploration. I'm well aware that stepwise methods are widely frowned upon & am using this approach purely for exploratory purposes, as I have a very large amount of variables, most of which could theoretically ... |
On my website, there are fully-priced items and discounted items (discounted items can be fully-priced also, so this is a time dependent analysis). I need to source discounted items from the existing fully-priced items, but I am unsure which items to source and provide as a discounted item in order to increase sales of... |
It's often used as a "set of values", however, it's not a set as there's no repetition in a set.
Also operations such as $X^2$ are carried out, which will apply the operation to each element in the "set".
So I'm wondering what this $X$ is actually referred to as, whether references to it as a set are informal, or if t... |
First, I am sorry if this is an obvious question, I am starting to study bayesian statistics (mainly for machine learning) and I was seeing the classic coin flip example using a Bernoulli distribution with parameter $q$. So I checked the math using an uniform prior ($P(q)=1$), and I was trying to see how the posterior ... |
I'm using R's ppcor package and from there spcor function to calculate the pairwise semi-partial (part) correlations. In my data there are 11 variables and 95 observations.
When calculating partial correlations I get a warning that "The inverse of variance-covariance matrix is calculated using Moore-Penrose generalized... |
I am currently working on a project that involves classifying each image as Good/Bad/Failed. We have a working convolutional neural network approach that works decent.
I also have trained a Fully convolutional neural network to do segmentation. THe labels for the segmentation are the actual objects in the image. So the... |
A common problem in insurance is to predict the amount (number, severity, or aggregate total) of losses in the next year for a book of business (eg. all personal auto policies). To do this, one can look at the historical correlation between past years and use that to predict the next year. For example, a co-variance ... |
I'm learning about association rules and came across the common interestingness measures support, confidence, lift and conviction.
I'm interested in the intuition behind your decision-making process while dealing with those measures. What I'm looking for is practical advice which I can apply during my data analysis pro... |
I know that variance of the regression estimate is given by $\widehat{\textrm{Var}}(\hat{\mathbf{\beta}}) = \hat{\sigma}^2 (\mathbf{X}^{\prime} \mathbf{X})^{-1}$. However, in many places, it is given that
A mathjax form: $$\sqrt{\frac {S_{y,1,2..k}^2} {\Sigma x_i^2(1-R_{1,2,..k}^2)}}$$ where $R_{1,2,..k}^2$ is the $... |
If I do a transform and then an inverse_transform using PCA, I of course get the original data back. If I do the same for KernelPCA, I don't. Is this a property of kernelPCA or a shortcoming of the implementation? Code is here:
import numpy as np
from sklearn.decomposition import PCA, KernelPCA
pca = PCA(n_component... |
When people use autoencoders, they usually normalize the data such that the values are normalized to the range [0,1]. Why is that? Why not use zero-mean unit variance normalization for example? I read on a Quora answer that this range gives you more choice of loss functions, but I don't really understand why. Any ideas... |
I have a theoretical question which has been bugging me, involving prediction based on limited data. Say you go to the horse track and see that horse A has just won its race with horse B. The two horses are scheduled to race again. If you have to bet and the other person will pick their side of the bet (aka you want... |
I have the following dataset:
df <-
structure(list(id = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 2L, 3L,
3L, 3L, 4L, 4L, 4L, 4L, 4L, 4L, 5L, 5L, 5L, 5L, 5L, 5L, 2L, 2L,
2L, 2L), .Label = c("A", "B", "C", "D", "E"), class = "factor"),
... |
I am aware that the information value of confidence intervals is still debated. However, I would like to keep the discussion to a Statistics 101 level.
Say we compare 99% CI and 95% CI. A 99% confidence level requires more trust than a 95% confidence, so how can you make the interval more trustworthy? Make it wider, of... |
Here we assume (for simplicity) that the parameter $\theta$ is one-dimensional.
When one has sufficient regularity and can push in partial derivatives to and pull out partial derivatives from the integral sign, then all of the following definitions are equivalent:
Define the score $S$ to be the partial derivative with ... |
The bootstrap is large sample approximation. Numerous confidence intervals have been developed from it.
For my data, which consists of fitting Generalized Additive Models (GAMs), I computed large-sample CIs for my parameter of interest. I then followed this with simulating the bootstrapped deviance residuals and addin... |
So, this may be a common question, but I’ve never found a satisfactory answer.
How do you determine the probability that the null hypothesis is true (or false)?
Let’s say you give students two different versions of a test and want to see if the versions were equivalent. You perform a t-Test and it gives a p-value of... |
I hope someone can help cross validate the answer to this. This is not homework; I graduated from university a long time ago.
Let $x$ be a normally distributed RV i.e. $N(m,\sigma^2)$ where $m$ and $\sigma^2$ are the mean and variance respectively.
Apply the transformation $y = \alpha / [1 + \beta e^{-k(x-x_o)}]$ to $x... |
What do residuals mean in the context of zero-inflated negative binomial regression?
I'm learning zero-inflated negative binomial regression. The data is from a state education system and includes variables about the number of migrant students identified by each school (which is zero-inflated) as well as variables refl... |
Suppose I have a multinomial contingency table like so
$$\begin{pmatrix}
\pi_{11} &\pi_{12} \\
\pi_{21} & \pi_{22}
\end{pmatrix}$$
Can I say anything about the distribution of the rows? Is the distribution of the first row Binomial with success probability $$p=\pi_{11} +\pi_{12}$$
|
I have a homework assignment on probability that goes like this:
Two cards are selected one after the other, at random and without
replacement, from a well-shuffled, standard deck of 52 playing cards.
Let A1 be the event that the first card selected is an ace, and let A2
be the event that the second card selecte... |
I'm trying to benchmark some code as quickly as possible while still getting the result with under a specified error.
To do that, I'm using a system timer to sample a loop running my code and I'm counting the number of iterations that occurred within the sampling period.
I aggregate these measurements into a data set o... |
In reading about response surface modeling, I learned about the central composite design, and how repeated center points have the following three results:
able to fit/model quadratic factor combinations
decrease the response variance
improve the estimate of measurement error
Specifically looking at 3, when would it b... |
Suppose I want to make predictions of a response from predictors but I have some autocorrelation in the response variable. Under OLS this would be a problem as the residuals would have autocorrelation. What if I just want to predict the response and I use regularized least squares, like lasso or ridge or elastic net? I... |
I recently presented my M.D work and one question got me into trouble.
Context:
In my neural network classification, I use 1 single output sigmoid neuron.
My problem requires that i classify the input into two groups : 0 or 1.
For the loss function, I use lasagne.objectives.binary_crossentropy :
Computes the binary c... |
Why is everyone calling AI something that is nothing more than a trivial predictive algorithm or something that it was simply called machine learning not more than one year ago?
|
On one hand, the universe contains "all the entities one wishes to consider in a given situation" on the other the population is "a set of similar items or events which is of interest for some question or experiment".
A co-worker said when she learned statistics they used the word universe; when I did we said populatio... |
So I know this may be basic but I'm having trouble piecing together the right formulas and logic to understand this. Most of the Z-tables online seem to have different information than the one provided to us so I've left the table below. Its a centered Z-table and not a left tail one.
For first year students at a univ... |
I want to compare sample generating algorithms against trusted Monte-Carlo simulations for goodness of fit. I would like an algorithm that takes samples one at a time or in batch from both the Monte-Carlo and the algorithm I am testing and computes a goodness of fit.
Most of the algorithms I have found test to want a C... |
Might be a trivial question, but how do I solve for the following constrained optimization problem that appeared in local linear embedding?
$$\min_{w_1,\cdots,w_k} \|x-\sum_{i=1}^k w_i x_i\|^2 \text{ s.t. } \sum_{i=1}^k w_i = 1$$
, where $x$ and $x_i$'s are given $p\times 1$ vectors.
I tried the following:
\begin{align... |
I have a response variable with four categories, I meant to make the first to be a reference category. I analyzed the category using Lasso in R (glmnet package). The lasso uses a more symmetric approach rather than the traditional K-1 parameterization. So at the Output will show the lasso coefficient for all four categ... |
Simon Wood's book on GAMs and his associated R package mgcv are both highly detailed and informative when it comes to GAM theory and model-fitting to real and simulated data.
For 1D smooths, there is really not much to worry about, save for deciding whether to implement cyclic vs. adaptive basis functions, which can g... |
I've been working through some econometrics worksheets recently. I came to a problem that I was hoping to get some help with. Assume we have a model, (1) yi = βo + β1chemi + β2disti + εi and we know that E[ εi | chemi, disti ] = 0.
Further, assume that we only have data to estimate the regression using the followin... |
I understand that in LSTM, there are 3 gates to help keep the memory. But why do we use LSTM instead of NN in the first place?
For example, in a LSTM, my features are just 1-D, time steps is set to be 60, which means the longest memory my LSTM can remember is just 60 days ago, you can't use any information 73 days ago ... |
Given probability density functions of two Gamma distributions $X$ and $Y$:
$f_1 (x) \propto x^{\alpha_1 -1} e^{-\beta_1 x}$
and
$f_2 (y) \propto y^{\alpha_2 -1} e^{-\beta_2 y}$.
How to compute the pdf of $|X-Y|$?
|
In what follows, I will disregard all "measure-theoretic niceties about conditioning on measure-zero sets", as my professor calls it. I just want to know if the following general idea, or even just something vaguely similar to it, is correct in any important cases of interest.
Question: Does the indicator random varia... |
$$
\hat{\sigma}^2 = \frac{1}{N}\sum_{n = 1}^N (x_n - \bar{x})^2
$$
When proving the variance is underestimated using MLE, the following two procedures are generating different results.
$$
E[\hat{\sigma}^2] = E[\frac{1}{N}\sum_{n = 1}^N (x_n - \bar{x})^2] \\= \frac{1}{N}\sum_{n=1}^N E[(x_n^2 - 2x_n\bar{x} + \bar{x}^2)]... |
I have the following code for simulating a geometric random variable where $X \sim \text{Geometric}(p)$, $0 \leq p \leq 1$, and pmf is $p(n) = (1 - p)^np$:
Set $X = 0$.
Generate $U \sim \text{Uniform}(0,1)$.
If $U \leq (1-p)$ set $X = (X + 1)$ and return to (2).
Else return $X$,
Obviously this is an inefficient app... |
The effect of applying the L2-norm regularization in neural networks is that it penalizes large weights in the model. How does this prevent overfitting?
My assumption is that large weights means that the neurons are heavily reliant on the output from other neurons. For example, in a multilayer perceptron, if one of my... |
I'm preparing a presentation about neural networks and I have doubts about the perceptron definition. Some sources I found in the internet tell that it's a basic artificial neuron, thus it's the basic part of a neural's network structure (and so have I written), but some say that it's the most basic neural network and ... |
I found this blog where the author trains an Latent Dirichlet Allocation (LDA) model on 20 Newsgroups. The output is then an $N\times K$ matrix where $N$ is the number of articles (row wise) and $K$ is the number of topics (column wise) i.e. each row is a discrete topic distribution.
The author then uses t-SNE to reduc... |
I am using a Random Forest regression model for my prediction task. Although my results are reasonable (in terms of RMSE), I have data points with a large RMSE due to lack of data points with similar response variables to them. Similar to classification problems with imbalanced data, I see imbalanced data in terms of m... |
I have evaluated two methods on a test set with $n=4252$ samples. Each sample gets a score from the two methods and the scores are in the range $[0,1]$.
The distribution of the scores of method 1 and method 2 are plotted in the following picture, along with the mean and median values:
The sample means of method 1 and ... |
I have pondered type II vs type III sums of squares for some time and looked at posted examples of calculations for 2 main factors (e.g. this very nice page). That is, in the case of a model:
X = A + B
Type II:
Factor A: SSq (A|B)
Factor B: SSq (B|A)
Type III:
Factor A: SSq (A|B,AB)
Factor B: SSq (B|A,AB)
Without wanti... |
I am training a neural network to play tic-tac-toe. The input is the board (a vector of 9 doubles) and the output is a vector of Q-values (9 doubles).
The input vector is analyzed as follows: If a cell in the input vector is below -0.5 the cell is occupied by the Nought. If the cell is over 0.5 it is occupied by Cross ... |
I know that two normal distributions can be subtracted and get a new distribution with a mean of $\bar{x} = \bar{x}_1-\bar{x}_2$ and a standard deviation of $\sigma = \sqrt{\sigma_1^2 + \sigma_2^2}$. Does someone know if the same applies for the subtraction of two skewed (in my case Gumbel) distributions, so if the new... |
I have two sets of paired observations that I would like to see if they are statistically different. However, each individual observation has an associated uncertainty (SD). For most common paired tests that I have seen the error of each individual data point is not taken into account.
Do you know the best way to proc... |
I have data that falls under three categories. Using a Chi-squared goodness of fit test, I have a P-Value of <.001, so my proportions do not fit within the expected numbers.
Observed Observed proportion Expected Proportion
70751 .678107 .454545
30036 .287878 .454545
3549 ... |
I have two numbers with 95% confidence intervals:
0.7 [0.5, 0.9]
1.03 [-0.27, 2.33]
I have multipled the two numbers to get 0.721. But what would the confidence interval for this number be?
I do not think multiplying the confidence intervals is correct, but I am struggling to find a solution.
|
If we assign probabilities to every elementary event such that they sum up to 1 and they're all positive, can we say that this function is a probability function with its domain equal to the set of all subsets of the union of those elementary events? Or should we also specify that P(A or B) = P(A) + P(B) for all A, B w... |
I have a regression model with regression coefficients $\beta_j$, $j=1,...,n$, and I would like to use a LASSO prior for $\beta_j$, this is:
$$\beta_j \sim Laplace(0,1/\lambda),$$
where the Laplace density function is $\pi(\beta_j\vert b) = \dfrac{1}{2b}\exp\left(-\dfrac{\vert \beta_j \vert}{b}\right)$. What priors ar... |
Can someone please guide me on the method that I need to use for following scenario:
We have two systems via which customer report their payments every quarter.
I have data from these two systems with customer & day of quarter they report their payment
We want to compare and see if Any one of the system really results... |
Let
$y_i\sim DE(\mu, \sigma), i=1,2,...,n, \ i.i.d$.
Where $DE$ represents the double exponential distribution. The the MLE of $\sigma$ is:
$\hat\sigma$ = $\frac{1}{n} \sum_{i=1}^{n}|y_i-med(y_i)|$, where $med$ refers to the median of the $y_i$s.
How can I show that the MLE is consistent?
I have learned some method... |
I am currently writing my masters thesis and have some difficulties with the statistical part of my research. I am new here, with limited knowledge in econometrics.
I want to analyse the relationship between two variables.
R&D Expenses (in dollars, in a specific industry)
Number of Employees (in a specific industry... |
Using stlf from Rob Hyndman's forecast package in R, I have noticed that the prediction intervals change each time I run it on a specific series of data (stays the same on other time series data as it should).
Here is the call:
msts(x ,seasonal.period = 365.25/7) %>%
stlf(h = 10, method = "ets", etsmodel = "ZZN", dam... |
So, I was wondering about the following question: Is there any neural network architecture that it is good for predicting a dense vector of values between 0 and 1 (multiple linear regression)? And if so, is there any tutorial or paper that describes it?
I've seen neural networks been used in classification problems whe... |
I am going to conduct a study in which I'm going to compare the mathematical performance (means) of indigenous students to non-indigenous students in public-urban, private-urban, public-rural and private-rural schools. My problem is getting the required sample size for each variable (each variable has an unequal popula... |
It's not clear to me, how the different summary metrics for caret's train function are defined, when I predict probabilities of a multiclass problem.
Without a loss of generality, assume that I use a random forest to produce probabilities:
library(caret)
data(iris)
control = trainControl(method="CV", number=5,verbose... |
To preface this question, I am building a Random Forest model using the randomForest package in R. I am not sure if this question is dependent upon my program, or if it can be answered based on the inherent properties of the algorithm. I felt this question was more appropriate for "Cross Validated" versus "Overflow", p... |
First of all sorry for the sloppy terminology, but I am right looking for the name of a statistical concept.
I was asked to calculate the "turnover" of the Facebook friends commenting on my posts, so I am looking for an indicator that has high value if always the same let's say 10 friends are commenting my posts, and ... |
I have a model similar to below with a continuous outcome, continuous predictor and a categorical variable. the goal of this analysis is to make inferences on the group variable. The issue is that y is bounded by x in the form of y >= -x. When the model makes predictions you can see in the plot below that the predicted... |
I understand that in PCA, maximizing the variance is for preserving as much variability (or information) as possible during the process of reducing the dimension of the data", and I read the previous question, too: https://stackoverflow.com/questions/12395542/why-do-we-maximize-variance-during-principal-component-analy... |
Let say I have various electric bills, I want to get the account number and the payment total, how would you approach such a task?
One of my ideas is to train a model to recognize different possible bills, and once the recognizer sees the bill, it will then look for the location of where the numbers are. But this appr... |
I have a huge data set (4-5 million entries). The data is indexed by 10 values (v1, v2, ..., v10) = IDENTIFIER.
The Identifier is not unique, there are many repetitions. The indexes are numbers, letters or dates.
Does there exist any tool or algorithm or idea to find some correlations which cover a big-enough span of i... |
Is there a general formula for the boundaries of a correlation coefficient given a set of other correlation coefficients? I have seen the formula for three random variables where two correlations are known. For example, given correlations R_ac and R_bc the boundaries of R_ab are given by:
R_ab <= R_ac*R_bc +/- sqrt[(1-... |
I'm trying to fit a Lasso Regression Model to a dataset but I have been stucked in some issues. I understand that I have to fit the best model using the proper lambda. But every time I run the cv.glmnet function it gives different values for lambda.1se and lambda.min and also different coefficients, i.e, different mode... |
In my intro probability/stats class, we were given the following problem: A restaurant owner would like to know how frequently his guests attend his restaurant. Based on an online survey, he is given the following information:
80% went in the last 3 months
48% went in the last month
25% went in the last 2 weeks
14% ... |
I'm building a machine learning model that realizes sales predictions based on a set of features, but for this specific problem it would not be important to have a spot-on prediction.
The problem is that with the MSE loss function I'm getting some predictions that get spot-on predictions on part of the validation data... |
In probabilistic PCA (PPCA), they model dimensionality reduction as probabilistic model
$t = Wx + \mu + \epsilon$
where
$W$ is non-swuare matrix of size $(d \times q)$, $q < d$
$x$ is a vector from $q$-dimensional "latent" space
$t$ is a vector from $d$ dimensional "observable" space
$\epsilon$ is normally distribute... |
I'm a bit troubled and confused by the idea of how the technique early stopping is defined. If you take a look it Wikipedia, it is defined as follows:
Split the training data into a training set and a validation set, e.g. in a 2-to-1 proportion.
Train only on the training set and evaluate the per-example error on the ... |
If we fit a GAM like:
gam.fit = gam::gam(Outstate ~ Private + s(Room.Board, df = 2) + s(PhD, df = 2) +
s(perc.alumni, df = 2) + s(Expend, df = 5) + s(Grad.Rate, df = 2), data = College)
Where, we use the dataset College, that can be found inside the package ISLR.
Now, if we find the summary of this fit, then we c... |
I often run into scenarios where certain independent variables only apply to part of the data. This is different from missing data, as I know that the variable does not apply to begin with. Here is an example:
y - continuous dependent variable
x1 - categorical/factor variable (levels a and b)
x2 - continuous variable -... |
I am have a modeling issue that I am hoping to have answered. I am analyzing high school math state proficiency data (a binary variable Y; 1 if the student is proficient in math for that year and 0 otherwise). The math test is comprised of five sub-components/parts (each can be defined as X1 to X5). Students' overall p... |
What is it that determines whether the MLE of a parameter will be larger than its posterior mean? Is it always larger?
|
Can you please suggest some statistical methods for datasets with few observations (aprox 100 values) that I could research more? I know about bootstrapping but I was wondering what else there is.
To be specific, I have a sample of 20 dimensions but with 100 observations of which 30% I will use as a test set. How can I... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.