instruction stringlengths 9 38.7k |
|---|
In my textbook it talks about the binary indicator function. It says "The distribution represents the fact that X is always equal to the value 1, in other words, it is a constant". Is big X the state space? What is the meaning of the big X in this context?
|
I need to do multiple comparison, and I want adjust the p-values by false discovery rate (fdr). However, it is impossible also adjust the confidence intervals by fdr.
What should I do? LSmeans by default gives bonferroni correction. Is it "consistent"(reasonable) to inform p values adjustment by fdr and confidence inte... |
I am investigating diversity-stability relationships and
I am trying to test for the portfolio effect and insurance effect with my data.
I understand that overyielding indicates the portfolio effect is occurring and that overyielding occurs when 'mean-variance scaling' is > 1.
1) how do I calculate the mean-variance ... |
I understand that using a regression method that assumes independence of observations with an outcome that is either clustered or (positively) spatially autocorrelated can give misleading results. Let's focus on the common problem of downwardly biased standard errors used in significance testing of regression coefficie... |
Based on the response to this post, MLE is used instead of Least Squares for ARIMA models because the errors in the MA(q) part of the model are unobserved.
I don't get that: don't we have empirical values for the error terms: $e_1,e_2,....$ by using $Y_t - \hat{Y_t},Y_{t-1} - \hat{Y}_{t-1},....$ which can be updated r... |
I am given a Rayleigh, distribution function:$$f(x)=\frac{1}{5}x\exp\left(\frac{-x^2}{10}\right)$$ with $x>0$ and asked to:
Use an appropriate random number generator algorithm to draw 500 samples from F(x).
What I thought on doing is using the Aceptance-rejection method :
Generate a rv $Y$ distributed as $G$.
Generat... |
I am conducting meta-analysis using metafor in R.
I would like to compare among 7 levels in a factor (i.e. different types of treatments).
fit <- rma (yi, vi, mods = type_of_treatment - 1, data = dat)
fit
I found several websites explaining how to compare among levels by using anova() (e.g., Post hoc analysis after me... |
I recently created a decision tree model in R using the Party package (Conditional Inference Tree, ctree model).
I generated a visual representation of the decision tree, to see the splits and levels.
I also computed the variables importance using the Caret package.
fit.ctree <- train(formula, data=dat,method='ctree')... |
I have an experimental design with:
20 locations,
2 different treatments by location,
10 samples of response variable "y" by treatment.
It is a nested design but my main question is: Are there differences between treatments? I am wondering if the following mixed model is appropriate to answer my question or I should ru... |
I am working on a study of fire propagation risk, and I have estimated a generalized linear model. Looking at the resulting ANOVA, I have seen that the proportion between the model sum of squares and the total sum of squares does not match the $R$-squared terms displayed in the model output. The ANOVA is:
If I have ca... |
I'm trying to decide between two methods for interpolation. I validate them on known data. Thus, basically I'm getting two errors with their standard deviations. One greater than the other. How many checks I should run to be sure that the finding is statistically significant? And how do I calculate the p value for it?
... |
I am training a model (Recurrent Neural Network) to classify 4 types of sequences. As I run my training I see the training loss going down until the point where I correctly classify over 90% of the samples in my training batches. However a couple of epochs later I notice that the training loss increases and that my acc... |
Say we have a system with a fixed set of participants. Each participant has a reward fraction $f_i$. Ideally, if total reward distributed over some period is $R$, each participant should get its fair share by the end which is $R_i = R \cdot f_i$.
I'd like to come up with a metric that roughly captures how successful th... |
I have conflicting instructions about which value to use for n when calculating the standard error of the mean for pools.
The scenario: Sixty individuals are involved in a study measuring a chemical in the body. Randomly assigned groups of 12 individuals were pooled to create five composite samples that were submitted ... |
I’ve built many lm() models in R, but this is a new challenge.
I have 100s of independent stores as objects. Each stores has simple 2 column time series (1 X and 1 Y). Very simple!
I want to build a single linear model that is based on these independent stores and their corresponding time series.
Is this mixed mo... |
Consider the following example (yes, I haven't centered age, corCAR1 is not necessarily needed here etc., so it is perhaps not the most meaningful model, I use it just to show the problem):
lme(distance ~ age + factor(Sex),random = ~ 1 | Subject,
cor=corCAR1(form=~age|Subject),data = Orthodont)
Everything works per... |
I'm fitting a delta lognormal GLM to catch rate date that has many zero observations using the R function deltaLN (package FishMOD). Catch rate is my independent variable, while my dependent variables are the categorical variables year, month, and area. Specifically, I'm interested in extracting the year effect as my "... |
I'm training a small neural network (2 hidden layers) to classify the mnist images, and want to apply dropout regularization before my output layer.
My first question: is it worth applying dropout to such a small network? My network is doing relatively well (around 98% accuracy consistently) without dropout.
My second... |
We do B2B telemarketing and our main goal is to call someone at a time when the person actually answers the call.
I have divided 8 to 6 workday into ten one-hour blocks. Some people tend to answer the calls in the morning and some in the afternoon.
So, I have created following features to calculate the probability of ... |
I've got a dataframe containing fMRi data; responses per recording site (columns) for different images (rows).
Now I'd like to add noise in order to simulate real expected data from an experiment. Does it make sense to add noise to every field, or do it per column/row? I.e. would the noise be expected to be constant pe... |
I'm new to logistic regression. Can you help me understand how to read this?
Here's what I understand -
For every +1 of continous_variable, the probability of the outcome goes up by 4.88%. If they have 0 for continous variable, then the probability of the outcome is -314.49%.
Both of these are significant and that m... |
I have split my dataset into training and testing. My model is fix which is give same result in every running and give a good accuracy.
I want to use my neural network model coupled with genetic algorithm to select the best features from 400 features.
I have done two ways
first way I used my root mean square error fo... |
I have values X and Y that I have sampled 10,000 times from a joint distribution. I want to investigate when
X is low and Y is low
X is low and Y is mean
X is low and Y is high
X is mean and Y is low
X is mean and Y is mean
X is mean and Y is high
X is high and Y is low
X is high and Y is mean
X is high and Y is hig... |
This is a simple question that is hard for me:
Let's consider simple sentence
A B C D
and create training examples for skip-gram training (x, y) with number of skips = 2 and skip window = +1/-1:
(A, B), (A, D), (B, C), (B, A), (C, D), (C, B), (D, A), (D, C)
For continuous bag of words (CBOW) with same window paramete... |
I ran a logistic regression in R and then I went to plot it and I'm not sure how to understand the plot.
Here's the logistic regression -
glm(formula = outcome ~ ., family = binomial(link = "logit"),
data = dataframe)
Deviance Residuals:
Min 1Q Median 3Q Max
-4.2917 -0.2904 -0.2904 -... |
Based on 4 or 5 predictor variables, I would like to determine "affinity" to a group of 26 different non-profits that an individual could potentially donate money to. I have approximately 1 million records but I have not heard of a multinomial logistic regression used for this many categories and I wasn't sure if I sh... |
Suppose I have a set data point pairs (x, y). If I wanted to predict the value of y for some given value of x, I could perform a regression on the data points, and find a function which relates x and y.
But what if I wanted to know what the probability would be of y being between two values, for a given value of x? The... |
I have a logit model with my dependent variable being "probability of exiting unemployment" and one of my independent variables is "individual duration of unemployment". Obviously there is a huge problem of endogeneity between these two variables, and I have been struggling to think of a possible instrumental variable ... |
I have experimental "before" and "after" measurements that I need to compare. The standard way in the field is to look at the log ratio, $y = \log_2(\frac{a}{b})$, so no change is $0$. I'm trying to find the correct way to calculate the uncertainty for this representation. It's safe here to assume covariance is zero.
$... |
I'm having a hard time determining an appropriate way to analyze a large dataset for a city's street tree inventory. I'm attempting to statistically support if any given species is more likely to produce sidewalk damage. Personally, I am under the impression that the planter size is a much more relevant variable for pr... |
I was reading an article on the RSS website where they discussed some top statistics of 2017. One of them was an apparently viral tweet from Kim Kardashian that compares deaths from lawn mower accidents and falling out of bed with terror related acts. The link for this article is here.
I've seen this type of comparison... |
Let $X_{1},...,X_{n}$ be random variable from the probability density function:
$f(x|\beta)=\frac{\beta^{\alpha}}{\Gamma{\alpha}} x^{\alpha-1}e^{-\beta x}$ where $\alpha$ is known and $\beta>0$.
I know that $\sum_{i=1}^{n}X_{i}$ will be a complete Statistic since the gamma distribution is in exponential family. What I ... |
I am reading Sutton's latest draft of "Reinforcement learning, an introduction" and I came to the Gradient Bandit Algorithm (page 29). I am having a bit of trouble understanding how the baseline should be computed. The book says:
"$\bar{R_t} ∈ \mathbb{R}$ is the average of all the rewards up through and including time... |
I don't really know if this problem can be considered as an intervention detection/analysis problem. The data shown below is actually a sensor signal collected from an air booster. The air booster has only two states, either it is on or off. When air booster is off, it sends out signal quite stably at about 6.4 to 6.5 ... |
I am working on a regression problem for a dataset which has different values of response variable for the same set of predictors. Also, my response variable has a wide range of values starting from the value 50 to 5000 and higher.
For example:
col1 col2 col3 Response
1 A B C 63
2 A B C ... |
I have 4 independent exponential random variables X1, X2, X3, X4 all with mean 1, and I'm trying to find E[min(X1,X2,X3,X4) | X1>X2>X3>X4]. I found the answer to be 1/4 after a ton of math, but I still don't understand intuitively why 1/4 is the answer. Could someone please explain it to me?
|
I am working on theoretical machine learning — on transfer learning, to be specific — for my Ph.D.
Out of curiosity, why should I take a course on convex optimization?
What take-aways from convex optimization can I use in my research on theoretical machine learning?
|
Consider a linear model $f(x) = \phi(x)^\top w$; where x is deterministic, $\phi$ is some fixed transformation, $w$ is independent and $w\sim \mathcal{N(0, \Sigma_p)}$. The covariance function is $Cov(f(x),f(y)^\top) = \phi(x)^\top \Sigma_p \phi(y)$. Does this imply that the joint distribution of $f(x)$ and $f(y)$ is ... |
Assume a model with parameters $\theta$ is identifiable. Then that means that for every probability distribution over observable variables $p(x|\theta)$, there is a unique parameter value $\theta$.
The GMM estimator relies on the moment condition:
$$E(g(x_i,\theta))=0$$
My question is as follows:
The expectation of so... |
How is the embedding layer trained in Keras Embedding layer?
(say using tensorflow backend, meaning is it similar to word2vec, glove or fasttext)
Assume we do not use a pretrained embedding.
|
I need advice on fitted functions in the below image.
I fitted the below function using a multivariate adaptive regression splines from the earth package in R.
fit <- earth(x = pred, y = resp, keepxy = T,newvar.penalty = 2, degree= 1,pmethod = "cv", nfold = 10, ncross =3, varmod.method = "rlm")
Visually seeing, ... |
I know from this post, that Asymptotic distribution of sample variance of i.i.d non-normal sample that the sample variance $s^2$ is distributed as follows:
$$\sqrt n(s^2 - \sigma^2) \rightarrow_d N\left(0,\mu_4 - \sigma^4\right)\;\; $$
My question is, does this still hold in the case where instead of having independent... |
Different validation methods have different bias and variance. For instance, k-fold cross validation with high enough k (e.g. 10) has low bias, but high variance, whereas the bootstrap has lower variance but a high bias, comparable to the bias of 2-fold cross validation.
Please note that when I mention bias and varianc... |
In the case where all my data are expressed in the same units, how can I express the principal components in terms of the original scale?
In economics and finance, it is customary to summarize data using principal components. I would like to apply principal components analysis to the yield curve of a given country (tha... |
I can not put my company data online, but I can provide a reproducible example here.
We're modelling Insurance's frequency using Poisson distribution with exposure as offset.
Here in this example, we want to model the number of claim Claims ($y_i$) with exposure Holders ($e_i$)
In the traditional GLM model, we can dirr... |
I would like to use WAIC to help with model selection, where the models are simple linear regressions with Bayesian inference, non-flat priors and MCMC estimation.
I am currently considering two such linear models, both of which have the same dependent variables and (Normal) priors for the regression coefficients, but ... |
I understand that weak dependence is a broad concept, the definition I am referring to is the one Wooldridge (2013) uses as an assumption that has to be fulfilled (amongst other assumptions) so that the estimators in a time series linear regression model are asymptotically consistent. That is:
A process $\{X_t\}$ is ... |
I have a Dirichlet distribution $D(\alpha_1,\alpha_2,\alpha_3)$, with $\alpha=\sum_{i=1}^3 \alpha_i$. I know that the marginal distributions are beta distributions. Consider for instance the first 2 marginal random variables: $X \sim B(\alpha_1,\alpha-\alpha_1)$ and $Y \sim B(\alpha_2,\alpha-\alpha_2)$.
My question is ... |
This might sound like a tech question at first, but there's a statistical logic that I'm trying to come up with. Help would be really appreciated.
Context: At my organization, we have a custom-built webapp where people add their skills (Project Management, Java, Cooking, etc) and other people in the organization rate t... |
When it comes to selection of a subset of variables from a big data matrix, such as a gene expression matrix, I have come across some publications that have picked a somewhat arbitrary approach to select for the most informative variables, e.g. filtering data based on N top percent of variance, coefficient of variation... |
I want to predict future returns over a 20 days horizon using an ARMA-GARCH model fitted to my data.
The goal is to estimate different risk measures like VaR or CVar.
In particular say I use AR(1) GARCH(1,1). The smaple I use for estimation has 500 observation of daily logreturns. That's what I usually do:
Estimate AR... |
Using the Inverse function method I managed to draw a sample of 500 random data from a Cumulative distribution function. $f(x)$,$F(x)$ and $F_X^{-1}(u)$ are as follows:
$$f_X=\frac{x}{5}exp\left({\frac{-x^2}{10}}\right)$$
$$F_X=1-exp\left(\frac{-x^2}{10}\right)$$
$$F_X^{-1}=\sqrt{-10log{\left(1-u\right)}}$$
The R code... |
Let $\left(y_{i},x_{i}\right):\Omega\rightarrow\mathcal{Y}\times\mathcal{X}$ be random vectors with $\mathcal{Y}\subset\mathbb{R}$ and $\mathcal{X}\subset\mathbb{R}^{p}$. Consider a model $\left\langle \Theta,P\right\rangle$, with $P:\Theta\times\Omega\rightarrow\mathbb{R}_{+}$ a density over $\Omega$ parametrized by $... |
I've come into a situation where I dont understand How to choose the number of clusters. The WithinSS increases suddenly after 6. How/What do I interpret of this graph ?
Background : I've applied PCA on the data set and used 4 PCs. The clustering is done on the PCs. I'm using K-means cluster algorithm in R.
|
http://www.sthda.com/english/wiki/one-way-anova-test-in-r
Here it says when the LeveneTest has small p-value we can use the alternative one
$oneway.test(...,var.equal=FALSE)$
but it doesn't mention how to check or if I need to check for the normality of the residuals.
Follow up question, regardless of the LeveneTest r... |
I've got a 2D Matrix (a Representational Dissimilarity Matrix) containing dissimilarities (numeric values) between 92 images (=> 92x92 matrix). Now I'd like to plot this in an image, displaying the matrix as colored squares where the color depends on the value in the matrix. I.e. it'd be a 2D plot of 92x92 colored squa... |
When we talk about the basis, we have the concept like orthogonal, unit length etc. for vectors. I think the same concept also exist in Fourier basis and Polynomial basis. But how about spline (Say cubic B-spline) basis?
|
Let $\mathbf{X}$ be a N x p matrix where the rows are assumed to be independet with distribution $\mathcal{N}(z_i\mathbf{v},\Sigma)$. A fixed vector $\mathbf{z}\in\mathbb{R}^N$. I would like to show that the MLE of $\mathbf{v} = (v_1,..v_p)^T$ is
$$\hat{\mathbf{v}}^T=\frac{\mathbf{z}^T\mathbf{X}}{||\mathbf{z}||_2^2}$$
... |
I am relatively new to machine learning in general, especially random forests.
Currently I am training a random regression forest with the scikit-learn library. My dataset has 500 features, the model produces a multi-output.
When training the model on 2 million and 3 million samples respectively, using n_estimators=3,... |
I am comparing two hyperparameter optimization algorithms: "Bayesian optimization" (henceforth called B) and "Quasirandom sampling" (Q). I use them to choose parameters for training a complicated regression model. These algorithms are iterative; I train the model on a training set with one set of parameters, then evalu... |
I have a lognormal spatially correlated dataset which has exponential correlation model with parameter l representing correlation length. Now we also have relations available to convert mean and variance of lognormal to normal and vice-versa (as provided in the link).
My question is, will the corresponding normally di... |
I have an understanding into the technicals of word2vec. What I don't understand is:
Why semantically similar words should have high cosine similarity. From what I know, goodness of a particular embedding is seen in shallow tasks such as word analogy. I am unable to grasp the relationship between maximizing cosine s... |
I am considering a model with a dummy variable on the right hand side. The dummy variable takes the value 1 when an underlying continuous variable is greater than some threshold and zero otherwise. What type of function is the dependent variable with respect to the continuous variable?
|
I'm relatively new to reinforcement learning and have the following multi-armed bandit problem:
Let's assume we have a bandit with $n$ arms. Each arms has a different reward distribution with support $[0,1]$. Further assume we follow a $\epsilon$ greedy policy, i.e. pick the arm with the highest expected reward or with... |
There is more than one solution for the problem of overdispersed count data. One is to use a quasipoisson model. One is to use a negative binomial model. One is to use a mixed-level model with subject-level random intercepts. Is there a rational and non-arbitrary way to choose among these? I ask because of a specific b... |
I am comparing three group means (95% CI), as following:
A (n=248) B (n=1000) C (n=102)
1.3 (0.6-2.1) 3.9 (3.1-4.7) 2.5 (1.2-3.9)
There is statistical significance by ANOVA for overall group difference.
When using Tukey's honesty significant test for pair-wise comparison, I obtain non-signific... |
I am solving the next exercise about a property of a Wishart Distribution:
$$M_1\sim W_p(\Sigma,n_1)$$
$$M_2\sim W_p(\Sigma,n_2)$$
are independent, then $M_1+M_2\sim W_p(\Sigma,n_1+n_2)$
I have the next:
Since $M_1,M_2$ are wishart distributed I can write $M_1=\underline{Y}_1^T\underline{Y}_1$ and $M_2=\underline{Y}_... |
In Matlab I did run a Wilkoxon rank sum test to compare two variables. The number of observation -for each variable- was very small (N=7; for this reason I did not run a t-test, as I could not reasonably assume normality of data).
I don't know how to evaluate the result of Wilkoxon test: response is significant but I'm... |
I'm trying Sklearn's RANSAC algorithm implementation to produce a simple linear regression fit with built-in outlier detection/rejection (code below). This is what my raw data looks like:
Even using max_trials=10000000 (the Maximum number of iterations for random sample selection) the estimated coefficients (slope, in... |
We have a large, nationwide prevalence study about the prevalence of healthcare-associated infections (HAI).
We need to see if hospitals have more or less HAI than expected by their patients' characteristics.
We estimated the per-patient HAI risk using a conditional tree model with cross-validated tree depth to avoid o... |
Suppose we have a likelihood function
$$L(\theta | X) = f(X; \alpha, \beta, \gamma(\beta))$$
So that the third parameter, $\gamma$, depends on $\beta$ in such a way that they cannot be separated. For example, suppose
$$\gamma (\beta) = \int_0^1 g(s) e^{\beta s} ds$$
for some unknown function $g(s)$. Since we cannot rea... |
Assume the main task is to classify the data $X$ and it is done based on an optimization setting:
$$\min_W f(X,W)+\lambda g(X,W)$$
in which $W$ is the classifier parameter matrix.
Now consider that i want to compare my approach to 2 other methods from the literature and the difference between all 3 methods is in the f... |
I have a problem with the next fact:
Let $X_1,...,X_n$ be random variables.
Why $$P\left(\min(X_1,X_2,...,X_n)>r\right)=P(X_1>r,X_2>r,...,X_n>r)?$$
Could you clarify me please? I can´t see very clear it, is part of a proof.
|
This is my first Cross Validated post. Please let me know if this is too specific/innapropriate for the site.
I am building a Poisson/quasiposson model with one predictor. The response variable consists of count data (seedling tallies in a plot), and the predictor is a continuous measure ($\sum_{i=1}^{n}\frac{1}{1+d_{i... |
I am taking an advanced linear algebra course and am once again confused by a lot of the concepts. I understand that the definition of a basis is a set of vectors that spans the vector space and is linearly independent. Can anyone provide any intuition on why this matters?
I can visualize (kind of) what it means for a... |
This bears some explaining:
I have a set of data from a psychophysics experiment where participants selected a response from a discrete set of 8 possible responses. These responses were actually colours, but they are equivalent to angles (taken from a circle in colour space), so the response set is effectively:
{pi/4, ... |
I have the next proof:
I am proving that $\operatorname{Cov}(X,Y)=0$ if and only if $X$ and $Y$ are independent where $[X^T,Y^T]^T$ are Normal distributed in $\mathbb{R}^{p+q}$
The first implication I think that is direct, i.e.
$\operatorname{Cov}(X,Y)=E(XY)-E(X)E(Y)=0$ because $X$ and $Y$ are independent $(E(X)=E(Y))$... |
I would like to find methods, algorithms, procedures or even concrete solutions of my problem.
The Problem:
Imagine a dataset of the historic performance and general behavior of 1000 athletes. We have 5 years worth of daily entries for a variety of features. Each day the athletes have entered their consumed calories, w... |
I am going through the lab portion on variable subset selection methods in An Introduction to Statistical Learning. On page 249 it says:
Finally, we perform best subset selection on the full data set, and select the best ten-variable model. It is important that we make use of the full data set in order to obtain more ... |
I recently read a lot of code regarding policy gradients, in particular, PPO and TRPO. To reduce variance the common approach is to train a network function as a baseline (value function, actor-critic style). Usually, this is done by training the value network on the discounted cumulative reward/return. Reference in te... |
Are there any advanced packages that allows automated tuning of hyperparameters for neural network and traditional machine learning algorithms like XGBoost, random forest (using method like Bayesian, random search etc. that could allow faster discovering of best parameters)? I heard of hyperopt but seems there are some... |
I'm interested in two sets of variables coming from bivariate normal distribution.
$X_i$'s iid ~ N($\mu_x$,$\sigma^2$)
$Y_i$'s iid ~ N($\mu_y$,$\sigma^2$)
and Cov(Xi,Yi)=$\sigma_{xy}^2$.
Now $\mu_x$= $\mu$ + $\gamma$
and $\mu_y$= $\mu$ + $\lambda$*$\gamma$.
In this case, can I use prior on only one of the parameters of... |
Given the following set of random variables and constants,
$\newcommand{\inreala}[2]{\in \mathbb{R}^{#1 \times #2}}
\newcommand{\var}{\mathrm{Var}}
\newcommand{\cov}{\mathrm{Cov}}
\newcommand{\corr}{\mathrm{Corr}}
\begin{align*}
\text{Constants} :\forall i : \alpha_i \in \mathbb{R}^1 \\
\forall i \neq j: \cov(X_i, X_j)... |
Here's the background. I have a time series representing daily sales. And I had built some models, like, ARIMA (arima), STL Decomposition (stl), Holt-winter (hw), and exponential smoothing state space model (result from the ets reduced to a hw model, because the returned model showed additive error/trend/seasonality), ... |
For example, I have 3 questions asking about the quality of a restaurant's services. Each question asks diners to rate from 1 to 5, where 1 indicates the worst quality and 5 indicates the best quality. If 100 people responded to the questionnaire and I read the data into SAS and make a frequency distribution of people'... |
I do a measurement where I collect a set of data and fit it to a linear model using ordinary least squares.
From that I get a slope, b and the standard error of it, s.
Now I repeat the measurement N times and get N slopes and N standard errors. I want to derive the standard deviation of the slope. How do I incorporate ... |
Looks like the rationale behind the accepted answer of this post is incorrect.
Under leave one out cross validation(LOOCV), the variance of its MSE estimator is
$$var [\frac{\Sigma_i x_i}{n}] = \frac{var[\Sigma_i x_i]}{n^2}$$ where $x_i$ is an estimate of MSE from one particular iteration.
I agree that LOOCV has a hi... |
On these course notes, we are given the distribution of the posterior distribution https://people.eecs.berkeley.edu/~jordan/courses/260-spring10/lectures/lecture5.pdf
This famous result can be found in many other places, such as https://www.cs.ubc.ca/~murphyk/Papers/bayesGauss.pdf. However, I am confused about the coe... |
Let's say two people play a skill-based game and a winner is decided. Then a rule variation is introduced and the same two people play the game again. This process is then repeated with different pairs of people. More often than not, the same player (the better one) will win both games but sometimes the other player wi... |
I want to design a target function for a classification task of the form:
$$ f_{target}(x) = \mathbb{1}_{>0}[\sum^{D^*}_{i=0} w^*_i x^i] = \mathbb{1}_{>0}[ \langle w^*, \Phi(x)\rangle]$$
and solve it using logistic regression $h_{w}(x) = sigmoid( \sum^{D}_{i=0} w_i x^i) = sigmoid \langle w, \Phi(x)\rangle)$. I was thi... |
I've recently come across several "informal" sources that indicate that in some circumstances, if we use the AIC or BIC to train a time series model, we don't need to split the data into test and train - we can use all the data for training. (Sources include among others, a discussion on Rob Hyndman's blog post on CV, ... |
So I am training an ANN for classification between 3 classes. The ANN has an input layer, one hidden layer and a 3 node output layer.
The problem I am facing is that the output being produced by the 3 output nodes are so close to 1 (for the first few iterations at least and so i am assuming the problem propagates to f... |
I encountered a problem to perform FDR control of my data, and am not sure how can I do.
I have hundreds to thousands of observations, each observation has two scores. So I have $\mathbf{s_1}=\{s_{11}, s_{12}, ...,s_{1N}\}$ and $\mathbf{s_2}=\{s_{21}, s_{21}, ...,s_{2N}\}$, where $N$ is number of observations. All obse... |
I am working with some data where I have measurements for two outputs (Output A and Output B) for 5 participants in an experiment. Each of the 5 participants have both their Output A and Output B quantity measured over 5 timepoints. Here is an example of what the data could look like with accompanying R code:
set.seed... |
I want to know when I should choose linear models like linear, polynomial, lasso , rigid regression and non linear models like cart, random forest, boosting algorithms. what are the factors i should consider like correlation, scatter plots etc when choosing the model?
|
Consider the stationary AR$(2)$ process of the form: $y_{t} = \alpha + \phi_{1} \ y_{t-1} + \phi_{2} \ y_{t-2} + u_{t}$ where $u_{t}$ is i.i.d. white noise.
Just as a head's up, we have not covered anything about Yule Walker equations, etc. in class.
Thus would the following be ok to calculate the autocorrelation?
$$
\... |
I have a dataset which has some missing values and I tried to predict them by using caret. My data set looks like this
treatment block D10 ni10 am10 Plot
1 1 W1 10 0.010 0.011 S1-1
0 2 W2 10 0.002 0.014 S0-2
0 1 W3 10 0.019 0.012 S0-1
2 2 W4... |
I have five (normalized) variables related to family history of insurance applicants. n = 59,831.
I performed a Principal Components Reduction, reduced it to 3 dimensions, put together explains 90.1% variance. When i plot the principal component vectors in 3-D, i get what i can see as 3 clear clusters, as below, which ... |
As per Wikipedia:
The Cauchy distribution is the maximum entropy probability distribution for a random variate $X$ for which
$$
{\displaystyle \operatorname {E} [\log(1+(X-x_{0})^{2}/\gamma ^{2})]=\log 4}
$$
or, alternatively, for a random variate $X$ for which
$$
{\displaystyle \operatorname {E} [\log(1+(X-x_{0})^{2}... |
I am not sure if this belongs is stack overflow or in cross-validated, so, I apologize if some feel it is in the wrong place.
I am trying to do a survival analysis for 55 nests over a three year sampling period.
Sample data, where;
Discovery is day of nesting period nest was discovered with 1 = to the day the first ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.