instruction stringlengths 9 38.7k |
|---|
While there is lot of theory and probability in the background to understand, I wanted to know if there are any resources/quick pointers on what to consider while modeling a problem using Bayesian Networks.
Specifically, I had the following questions:
- what kind of priors to use?
- what do we learn from the data? and ... |
I'm doing survival analysis and using the survival package from R to do it. I have 7 variables, 5 of which are time-dependent (all except sexo and peso).
Here is my model:
Call:
coxph(formula = Surv(tempo1, tempo2, status) ~ sexo + clima +
CODE_06 + TP_media7 + ndvi + peso + epoca, data = newftable)
... |
If random variables X and Y are correlated, but Y and Z are iid, is X and Z always independent? I am able to prove they are independent for specific types of structure on X and Y (for example if $X=Y+U$ where $U$ is iid), but is this true in general. Not sure why I am having such a difficult time proving the general ca... |
I'm analysing data with a nested structure with the lmer-function of the lme4 package in R. I'm interested in the estimation of the confidence intervals of the random effects (is the score of class1 higher than class2 nested within school A).
I found very small standard errors using ranef(mod, postVar = TRUE), that I d... |
I am preparing data for a meta-analysis regression of effect sizes, in which I will study the determinants of effect size for a specific variable across several studies. I have some studies in my dataset that have used the logarithm of my predictor variable of interest in their regression models. How should I deal with... |
I'm trying to fit a tobit model for a response outcome where both sides were censored and the distribution is heavily skewed, even for the none-censored observations. Here is an example:
set.seed(123)
x<-10:100
a<-rnorm(length(x), sd=5)
b<-(x+a)^(-1/1.5)
y<-c(rep(min(b), 20),b,rep(max(b),100))
hist(y)
To fit a tobit m... |
I am writing up results from regression analysis where I used AICc model averaging to arrive at my final parameter estimates. I am wondering how best to refer to these parameters and their 95% confidence intervals. It seems like "significantly different" is taboo in the AIC world, but writing out "the parameter was x... |
this will probably look like a trivial question but I am having trouble explaining the difference between the output plots of two models I built.
My data are disease counts on algae. I would like to test the relationship between disease counts and percentage cover (continuous covariable) including the effect of Site (f... |
In PCA , consider a 4 x 3 data matrix ( 4 examples each with 3 features ). After getting the 3 eigenvectors (a/b/c) and projecting data on the first 2 vectors, the equation looks like this :
[ first 2 eigen vectors transposed ] x [ data set transposed ] = [ data projected ]
so the first example in the data after being ... |
I'm working on a protein multi-classification problem, using libsvm and the edit distance kernel. This kernel depends on a parameter $\gamma$. I'm able to get the best parameters ($\gamma$ and $C$) through grid search. But if I use a kernel that depends from 3 or more parameters, the grid search is computationally heav... |
Assume that I have a random variable $X$ (which I know will have a power law tail).
If I had the CDF for $X$, $G(x)$, then I could easy calculate this tail as something like,
$$
\alpha = \lim_{x\to\infty}\left(\frac{x G'(x)}{1 - G(x)}\right)
$$
Alternatively, in logs with $X = e^Z$ and a CDF for $z$ instead, F(z), then... |
Suppose X is the design matrix of my experiment of which I want to model a linear regression model. Such a design matrix can be created by (in this example it is a full factorial design)
library(BHH2)
Des2 <- ffDesMatrix(5)
Now, a contrast matrix can be obtained by the following code, corresponding to ( t(X) %*% X)^-1... |
I need some help understanding the relation between the maximum likelihood and Gaussian mixture models. I have seen that there is a relationship between the expectation maximization algorithms and these two terms, but I could not quite understand the relation well enough. Could some please give me an example of how the... |
I am told that wealth follows a Pareto distribution, and that IQ follows a Pearson IV distribution (http://www.abelard.org/burt/burt-ie.asp). Both Pareto and Pearson IV distributions have long tails. Which one is longer?
In plain language: are billionaires further from the average population in terms of wealth than gen... |
I have a random variable $Z$ with some CDF $F(z)$ and quantile $Q(p) \equiv F^{-1}(p)$. I have $Q(p)$ in closed-form but not $F(z)$.
Create a new random variable $\hat{Z}$ defined so that the CDF $\hat{F}(z) \equiv F(z)^{\kappa}$ for some $\kappa > 0$. (it sounds like this is not necessarily the CDF of $Z^{\kappa}$, b... |
Apologies if the question is too broad, then please close the thread. Or maybe this belongs in StackOverflow?
I observed something strange and wonder if someone more educated can shed some light on the issue. I don't think it's necessary to go into a ton of detail (i.e., providing code and data).
I'm running a logisti... |
I am stuck with the correlated and independent data combined in one study. Here's my dilemma:
Say X is a drug(explanatory variable) and Y is a gene expression(response variable).
Normally, you would give out drugs to a half of your group(randomly chosen) and placebo to the rest, measure the gene expression for each pe... |
My situation:
small sample size: 116
binary outcome variable
long list of explanatory variables: 44
explanatory variables did not come from the top of my head; their choice was based on the literature.
most cases in the sample and most variables have missing values.
Approach to feature selection chosen: LASSO
R's gl... |
I've often seen discrete datasets plotted as line plots, but it occurs to me that the line infers a value at a point between the measurement intervals which is meaningless for discrete datasets. Is it therefore the case the using line plots for discrete data is wrong?
As an example, take two time-series datasets, one c... |
I am trying to classify text documents using a huge corpora. Thats a huge tagset (more than 1000 tags). Corpus will have 1000 samples for each tag. But the tagset is not closed. New tags can be added in future as per the text content. There will be human intervention in between where I can get new tags if the situation... |
Is it valid to apply lm.morantest (in the package spdep) to test for spatial autocorrelation among residuals from a Generalized Explanatory Equation (geeglm in geepack) model fit of binary data? If not, is there another solution to test for residual spatial autocorrelation since Moran's is not appropriate for the binar... |
Background on Two-Stage Designs
In clinical trials, we are often interested in the response rate $p$ for an experimental treatment. In a typical trial, we might expose $n$ patients to the treatment and observe the total number of responses $X$ in order to test the null hypothesis $H_0: p \leq p_0$ against a one-sided ... |
I am currently doing exam revision, and I am stuck on a question in one of the past exams. It asks us to data scale the following equation:
$\ln W$ = 2.54 + 0.4Educ + 0.25Exper - 0.025Exper² + 0.29Tenure + u.
It asks us to scale W by 1/1000 (convert dollars into thousands of dollars) and Educ from years to quarters. In... |
Firstly, I appreciate that discussions about $r^2$ generally provoke explanations about $R^2$ (i.e., the coefficient of determination in regression). The problem I'm seeking to answer is generalizing that to all instances of correlation between two variables.
So, I've been puzzled about shared variance for quite a whi... |
From what I understand, there is a relationship between bias and underfitting; as well as variance and overfitting.
Is a 'biased model' another word for an 'underfitted model'? Likewise, is a "varianced' model" another word for an 'overfitted model'?
|
We surveyed all 10,000 professionals in a particular industry. The industry is highly-regulated, so we have contact information for everyone in our population of interest. We attempted to contact 100% of the population. We now have a data set containing the 2,000 responses, because 20% of our population agreed to co... |
How do I perform an IDF calculation? I am uncertain as to whether IDF should be calculated in per-class level or for the entire document set (that contains multiple classes).
|
Which regression algorithm do I need to use to fit the coefficients of $f(x_1, x_2) = a + b x_1\log x_2$? Will linear regression with an independent variable $x_1 \log x_2$ work?
|
I'm working on multiclass logistic regression model with a large number of features (numFeatures>100). Using a maximum likelihood estimation-based cost function and gradient, the fmincg algorithm solves the problem quickly... However, I am also experimenting with a different cost function and do not have a gradient... ... |
I found a similar question in this forum. As a rule of thumb, since there are 4 independent variables in my case, I need 4*10=40 data points. However, my question differs slightly, since I want to ask about data generation too. I want to develop a nonlinear regression equation as:
$$y=c_{1} A^k B^l C^m D^n$$
by estimat... |
A series with drift can be modeled as $y_t = c + \phi y_{t-1} + \varepsilon_t$
where $c$ is the drift (constant), and $\phi=1$.
A series with trend can be modeled as $y_t = c + \delta t + \phi y_{t-1} + \varepsilon_t$ where $c$ is the drift (constant), $\delta t$ is the deterministic time trend and $\phi=1$.
Both ser... |
I have created a scatterplot. I want to see the trend of how the number of fishing cat scats vary with an increase in perimeter of water body. Hence my response variable is number of fishing cat scats and predictor variable is perimeter of water body. After creating a scatterplot, I gave an abline (lm) command, which h... |
I have received a sample, summarized by a frequency table with groups (i.e. 1-7, 7-10, 10-13, 13-16, etc...)
I calculated the mean and median, both were around 15, the mean was 15.3, the median 15.6. The mode was 18. I have calculated the mean by using the middle point of each interval. The median was calculated using ... |
I want a formula of Gini's concentration ratio and the Lorenz concentration ratio involving three parameters about gamma Weibull distribution.
I have formula about gamma distribution that contains only one parameter. but I want it for three parameters. For the gamma distribution,the Gini concentration ratio is
$ G= (... |
I work on data from a mass spectrometer that produces billions upon billions of count histograms, and I need a good way to test whether these histograms are consistent with one or several model distributions (Gaussian, heavy-tailed, multimodal, etc). Outliers may be present in a good fraction of the histograms, if not ... |
What is the difference between Research Design and Experimental Design?
I can't see any difference. Both of them need to establish Causality.
Both of them are the arrangement for collection and analysis of data in a manner that aims to achieve the objective in an economical way.
Then where is the difference between the... |
I have a number of students and their scores across a series of tests, all of which have equal importance in my model. I would like to identify the top scoring students (e.g. top 10%).
My first idea was to average percentile ranks and work from there. However, I couldn't come up with a way how to attribute statistical ... |
I am paving my way through Roger Nelsen's "An Introduction to Copulas".
The book has exercises (quite good actually), but no solutions.
Does anybody have a solution manual for (some of those) exercises?
Also references to Copula related (intro level) problem sets with solutions would be appreciated.
|
I am a bit confused about the function of a parameter in setting up a linear mixed effect model (hierarchical/multilevel model). This is how I understand a (random intercept and slope) multilevel model is set up:
Level 1:
$$
y_{ij}=\beta_{0j}+\beta_{1j}x_{ij}+e_{ij}
$$
(The $i$-th observation in group $j$ is estimated ... |
I'm wondering if my volatility factor is specified correctly. My data consists of log returns on the S&P 500 index, a measure of news sentiment, and a newscount variable (# of articles published on that day). Now I want to include a volatility variable, and I tried several but will explain my current issue.
I used the ... |
If $X_i$ has a Beta distribution $\beta(1,K)$.
What is the best approximation for the distribution of $ S=\sum_{i=1}^N X_i$, when the $X_{i}$ are independent and $N$ is finite.
|
I want to find the moment generating function (mfg) and mean deviation of this distribution:
$$f(x,\epsilon,k,\theta) = k\theta^{(1+1/k+\epsilon/k)}x^{(k+\epsilon)}\exp{(-\theta x^k )}/(\Gamma(1+(1+\epsilon))/k)$$
where $\epsilon, k, \theta$ are the three parameters of this distribution. $x$ ranges from $0$ to infinity... |
I quote the question:
In some cultures, it is important to have at least one son. The plan is to have children until one son is born.
Find the PDF of the number of daughters in a family. The success rate of having a son is p.
My first approach:
Bernoulli experiment
let D = number of daughters. Then d+1 experime... |
I try to self-learn Bayesian machine learning (mostly by studying Bishop and Kevin Murphy's books).
While working with formulas I was puzzled by the quote that "Note that the likelihood function is not necessary a density function".
The Bayes formula stated in terms of data $D$ and hypothesis $h$ is:
$$ p(h|D) = \frac... |
From what I understand, we can only build a regression function that lies within the interval of the training data.
For example (only one of the panels is necessary):
How would I predict into the future using a KNN regressor? Again, it appears to only approximate a function that lies within the interval of the trainin... |
I want to whiten a vector $X$ by transforming the variance-covariance matrix so the variance-covariance matrix of the transformed series will be the identity matrix $I$.
$X$ is a time-series column vector with variance-covariance matrix $M$ and mean $0$.
If $X$ was a set of correlated data, then the covariance matrix $... |
Please help me prove the following:
n-Box is defined as $B=[a_1,b_1]\times[a_2,b_2]\times[a_3,b_3]\times...\times[a_n,b_n]$ Cartesian product of $n$ closed intervals, where $a_i$ and $b_i$ are all from $R$ and $a_i\le b_i$ for $i=1,...,n$. Vertices of the box are $c=(c_1,...,c_n)$ where $c_k=a_k$ or $c_k=b_k$.
We have ... |
I'm modelling a rare event (say 1 in 10000) and I'm using an over sampled train set to cross validate and train my model. I'm using ROC as a global performance metric but there are business reasons for which I want to be able to communicate the false positive at a certain cutoff specified by our business folks (say 0.9... |
I am using chi squared for feature selection in text classification.
However when I compute it I sometime have very big values. Like 100, 1000 or even 20000.
Is this normal ?
I wonder because I read that if the Chi Squared score equals 10.83 then the p-value is 0.01.
So we know at 99.99% that the token and the class of... |
I ran across this exercise:
Let $T$ be a random variable distributed as a $\text{Bernoulli}(p)$, $U$ be a random variable distributed as a $\text{Bernoulli}(q)$ and $W$ be a random variable distributed as a $\text{Poisson}(\lambda)$. Find the probability function of $X =T \cdot U\cdot W\,$ .
I first calculated:
... |
suppose that we have following data
i have done covariance matrix and eigenvalue decomposition
>> means=mean(X);
>> centered=X-repmat(means,10,1);
>> covariance=(centered'*centered)/(9);
>> [V,D]=eig(covariance);
>> [e,i]=sort(diag(D),'descend');
>> sorted=V(:,i);
e
e =
1.0e+03 *
3.8861
0.4605
0.1... |
Using R, I want to run a linear regression to estimate the abnormal return on days with positive, negative and neutral news (CLASS). I'm a beginner in R, as well as in using regression models!
First of all the data structure is as follows. CONTROLVAR just represents all the columns I use as control variables.
DATE <- ... |
In the follow-up to this Ways to understand 2-dimensional time-series data
I'm working on 2D time series data where two attributes are depth and temperature. When I plotted depth-vs-temp curve and saw its variation over time, the fluctuation occurs at few places only.
Lets say temperature is dependent on depth and it v... |
I looked into the topic of bayesian bandits in order to create a simple testing tool for headline optimizations. UCB1 seemed easy enough until I discovered that there is probably a problem with the delayed rewards in the real life setup. I am in no way a mathematician. Maybe anyone could point me in the right direction... |
I applied quantile regression on some data and did it for tau = 0.25, 0.5, 0.75. After i got the estimates of each model, i did some cross validation on my hold out data. When i used the estimates for my hold out data i calculated in what quantile each of my independent variables lie, 25%, 50% or 75%. For instance if m... |
I have $N$ datapoints that have $d$ features in a GP and their covariance matrix $K$ and I want to calculate the differential entropy of that GP.
Is this formula right?
$E(I)= \frac{1}{2} \log((2πe)^d \det(K))$
Moreover, given $L$ the cholesky decomposition of $K$ is there a faster way?
Thank you
|
We have just finished an experiment, where we had samples distributed into 6 groups and each group receiving a different treatment. Each group had 5 samples, with 20 replicate measurements taken per sample (they do not represent timepont difference, but mainly replicates). The data looks something like this
I am stack... |
I need to cite the pdf(density) or cdf(distribution function) of a non-central scaled Student's t distribution.
There is an article about the non-central Student's t distribution http://en.wikipedia.org/wiki/Noncentral_t-distribution. But I have found no article that states the pdf or cdf and which also considers a sc... |
I am looking for publicly accessible data sets to explore some wisdom of the crowd ideas.
An ideal data set would contain predictions from a number of individuals (who were not collaborating with each other, or at least only minimally) on events with known outcomes.
Predictions in terms of probability of events occurr... |
One common thing to do when doing Principal Component Analysis (PCA) is to plot two loadings against each other to investigate the relationships between the variables. In the paper accompanying the PLS R package for doing Principal Component Regression and PLS regression there is a different plot, called the correlatio... |
I want to estimate a linear model for a phenotype $y_i$ defined by a liability threshold model, using observable data $x_i, c_i$.
$$y_i = \mu + \beta x_i + \epsilon_i$$
$$\text{Pr}(\epsilon_i | x_i, \beta, \mu) \sim B(1, p_i) - p_i$$
$p_i$ is a complicated function of the normal CDF of the underlying error for the liab... |
My question goes on Extreme Value Theory for the Normal distribution (www.math.ethz.ch/~embrecht/RM/chap7.pdf):
Which type of GEV (Generalized Extreme Value) distribution does the Normal distribution belong to (Weibull/Gumbel/Frechet)?
If we have the Normal parameters given ($\mu, \sigma$), can we infer the parameter ... |
Let
$Z_1,Z_2 $ i.i.d. standard normal
$$
X(t) =
\begin{cases}
0, & \text{if } t<Z_1, t<Z_2\\
1, & \text{if } Z_1\le t <Z_2 \text{ or } Z_2\le t <Z_1 \\
2, & \text{if } t\ge Z_1, t\ge Z_2
\end{cases}
$$
Asked
$E[X(t)X(t')]$
Approach
$E[X(t)X(t')] = P(X(t)X(t')=1)+2 P(X(t)X(t')=2)+ 4 P(X(t)X(t')=4)$
I work out $P(X(t)X... |
So, I have data set and I calculate the model parameters and errors using statsmodels:
result = sm.OLS(y, X).fit()
result.summary()
Now, result.mse_resid, result.mse_total provide MSE of the residuals and total mean squared error.
Reading the statistics tutorials I see that $MSE=\frac{RSS}{DFE}$, where DFE is degrees ... |
I am trying to find a statistical or machine learning tool that replicates this analysis I am doing manually in excel.
Each row in my data set is a user.
User | sites visits | pages viewed | items added to cart | Purchased (1 or 0)
I set up a pivot table so Purchased is in the columns field. I have it set to % of row... |
My data is a set of $N$ observations $y_i$.
I would like to estimate $\mu$ and $\sigma$ in the following model:
$y_i \sim \mathrm{Normal}(\theta, \sigma)$
$\theta \sim \mathrm{Normal}(\mu, \frac{\sigma}{N})$
$\mu \sim \mathrm{Normal}(??, ??)$
$\sigma \sim ???(??,??)$
I would like to perform an Empirical Bayes analysis.... |
I've used chi-square analysis in school, but was absent for the lesson, and I never quite got the hang of it. I've been successful with it in the past, but now I'm trying to use percentage values, and I'm not getting the answers I'm expecting. I'm doing a survey and comparing my findings with national averages, but whe... |
Is there a way to use strucchange package in R on ARIMA models?
I haven't been able to find any.
Thanks a lot.
|
I have a dataset of ~400 subjects. For each subject, I have about 18 variables (V1...V18), all of those continuous and measured at the same timepoint.
A paper I'm working on would benefit from showing that one of those variables (say V1) has a significant correlation with one of three other variables (say V2, V3, or V4... |
I am stuck in understanding how the output of convolution operation is obtained. Can somebody please show the steps? The question is an image is processed by applying 3*3 mean filter . What is the impulse response?
The formula is $g(m,n) = \sum_{\alpha = 0}^{M-1} \sum_{\beta=0}^{N-1} f(\alpha,\beta)h(m-\alpha,n-\beta)... |
I have been reading a book that cites an example where a uniform distribution is the initial prior, and then a person scores 9/10 on a test. Then the resulting posterior becomes the prior distribution.
The book provides the following explanation for what happens, but despite consulting the Wikipedia page on integratio... |
I am a research assistant for a lab (volunteer). I and a small group have been tasked with the data analysis for a set of data pulled from a large study. Unfortunately the data were gathered with an online app of some sort, and it was not programmed to output the data in the most usable form.
The pictures below illus... |
The maximum likelihood parameter estimates for the linear model where $\Pr(Y|X\beta) \sim \mathcal{N}(0,\sigma^2)$ are:
$$\hat{\beta} = (X'X)^{-1}X'Y$$
How do you compute the statistical power of the parameter estimates? It seems that there should be a closed-form, but I've searched and haven't found a proof anywhere e... |
I have time series data of many variables (This data comes from high throughput biological experiments, which measure the amount of particular biological components such as RNA content of a cell etc., )
The time series looks like
$x \to x_1, x_2, x_3 $ which is the value of $x$ at time points $1,2,3$ respectively
$y \... |
If I estimate the following regression on a large data set:
$y = b_0x_0 + b_1x_1 + b_2x_2 + b_3x_3 + b_4x_4$
where $x_0, x_1,...x_4$ are all dummy variables indicating group membership, and I create two new variables, $x_5$ and $x_6$, that indicate membership such that $x_5$ indicates $x_0, x_1$, or $x_2$ being switche... |
Can regression be used for out lier detection. I understand that there are ways to improve a regression model by removing the outliers. But the primary aim here is not to fit a regression model but find out out liers using regression
|
$X$ and $Y$ are real-valued random variables such that the distribution of $(X,Y)$ is absolutely continuous with density function $p$ and let $p_x$ denote the marginal density function of $X$. Suppose that there exists a point $x_0$ such that $p_x(x_0) > 0$, $p_x$ is continuous at $x_0$, and for almost all $y$, $p(\cdo... |
For a random vector $x$ multiplied by a non-random matrix $A$, $y=Ax$ the covariance matrix of $y$ is given by
$\Sigma_y = E[Ax (Ax)^T] = E[Ax x^T A^T] = A E[x x^T ]A^T = A \Sigma_x A^T$,
where $\Sigma_x$ is the covariance matrix of $x$. How can I calculate $\Sigma_y$ if $A$ is a random matrix (uncorrelated with $x$) ... |
I have many point clouds of a small size (say <200 points) in 2D. Some of them are isotropic and can be modelled as a single point. Others are elongated and curved so that they can reasonably be fit to the apex of a parabola. The dispersion seems to be of the same order for all clouds and there can be a fraction of out... |
I have two main explanatory variables of interest in the model I use. It is only when I include them both that the coefficients are significant. The correlation between them is 0.98 and the vif-value is high, indicating collinearity. May this bias the results? I read somewhere that multicollinearity only inflates stand... |
Given are $Z_1, Z_2$ i.i.d. standard normal.
Find
$P[Z_1 < t < Z_2]$
I have difficulties with working out how I should split the condition.
Is $P[Z_1 < t < Z_2] = P[Z_1 < t, t < Z_2]$ or is some additional condition required?
My question
How should I approach this problem?
|
I am running some Poisson (or Neg.Binomial depending on overdispersion) models and i want to check for residual autocorrelation due to the nature of the data (monthly cases).
I am using R and i am producing correlograms with the use of the "acf" command, where i can check if the autocorrelation for the different lags f... |
I just finished a small research project about hummingbirds and the effect of hummingbird feeders. I am a bit unsure about how to proceed with the statistics.
We placed 15 points in a distance gradient away from the feeders, where we sampled visitation rates, pollination and bird / floral abundance (all count data). We... |
I need to estimate the following conditional variance model
$$
y_t = \sigma_t\,\varepsilon_t
$$
where $y_t$ are the observed data, $\varepsilon_t$ are iid Normal shocks (zero-mean and unit-variance) and where the variance $\sigma_t$ is given by
$$
\sigma_t^2 = \omega+\sum_{j=1}^m\zeta_j\,v_{j,t}+\sum_{j=1}^{q}\,\alpha_... |
I need to run a cox-regression on a huge data set (millions) with only a few unique rows (hundreds) and regressing on categorical variable group. I could use just Surv(t, c) ~ group, but this would take a very long time. I was thinking about including only unique rows together with their count as a weights argument.
Ho... |
I am trying to gain better understanding of the idea of local outliers (as discussed in this pdf) and how the function is implemented. Here are the key passages from the pdf:
Local outliers: Outliers comparing to their local neighborhoods, instead of the global data distribution
In Fig., o1 and o2 are local outliers... |
I'm trying to train a randomForest model in R in a 500k+ row dataset. So far so good, but now I'm trying to include factors person_id and company_id (non-unique) which both have a huge amount of levels (in the thousands, many more than R can handle).
There is an overlap between training and test set for these attribut... |
I have a set of user data and I want to build some kind of metric to evaluate the probability of the user being a sybil (a "fake" account).
But I have a very limited set of users who are sybils with 100% certainty.
How do I use machine learning here?
Also, as for now, I've built a heuristic metric based on that data an... |
I did a stepwise regrssion analysis to predict energy expenditure using the variables, height, weight, age, gender and energy intake. The final model contains the variables gender and weight. Now does this final model take into account gender by weight interaction? Or do I have to construct a new equation from this fin... |
Let us say I have data set of distinct $x_i$. A Gaussian is fitted to it with maximum likelihood, obtaining some $\mu$ and some $\sigma^2$. I will also obtain a likelihood $\mathcal{L}$.
Now, I copy the data set where I set $\tilde{x}_i = 2 x_i$. I estimate another Gaussian, obtaining $\tilde{\mu}, \tilde{\sigma}^2, \t... |
I need to learn about Matrix Factorization for recommender systems, so I downloaded this paper https://datajobs.com/data-science-repo/Recommender-Systems-[Netflix].pdf but I found it too shallow. It didn't explain the concepts in depth for me. So can you please recommend some good papers/resources to learn about the to... |
I am trying to learn how neural networks work on image recognition.
I am confused on how to give input to neural network.
Let's say I want to find (track) object in sequence of images, in particular the image that come from aircraft travelling, and images captured with camera. Point being that most of objects in the pi... |
The objective of my work is to cluster the text documents. Once the documents are clustered, traditionally the system will assign numeric value for the clustered group. For example if I have 5 categories, then the clustered documents are labeled by any one of these numerical values {1,2,3,4,5}. I would like to assign t... |
Description
I have to find number of clusters for 1D data. All clusters are assumed to have a gaussian distribution (so there is a big number of same points). I have a robust "agglomerative clustering + EM"-based algorithm which is able to find cluster centers.
Problem
The number of clusters varies (in different data s... |
If $X$ has a beta distribution $ \beta(\alpha,b)$, $Y$ has a gamma distribution $\Gamma (K,\theta)$ and $X$ is independent of $Y$. What is the distribution of the product $P=XY$ .
Thanks!
|
I've done quite some reading on multiple imputation (MI), but can not seem to figure out the next question:
I have a dataset with missing values, some rows have many missing values, others have less missing values. They are missing at random.
I want to exclude certain rows because there are missing too many values (col... |
for $N$ samples of two correlated random variables $X \sim N\left(0,\sigma_X^2\right)$ and $Y \sim N\left(0, \sigma_Y^2\right)$ with correlation $\rho$, I am analyzing the ratio of the sample variances, $r=\frac{s_Y^2}{s_X^2}$. Currently, I am foccusing on $E\left[r\right] = E\left[\frac{s_Y^2}{s_X^2}\right]$.
I have f... |
Having built a regression model with an ordinal response variable and predictors comprised of categorical and continuous nature, I have some questions that pertain to one of the final goals, i.e. suggest another class for certain observations (which ones is unknown) in the training set. I approach this problem with a s... |
I am using scikit-learn Multinomial Naive Bayes classifier for binary text classification (classifier tells me whether the document belongs to the category X or not). I use a balanced dataset to train my model and a balanced test set to test it and the results are very promising.
This classifer needs to run in real tim... |
I'm trying to justify using of GLM model in my project instead of a simple linear regression. A lot of sources that I've seen contain the statement that "GLM allow us to build regression models for response variables that are not normally distributed". I can't understand what that is supposed to mean since we don't mak... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.