instruction stringlengths 9 38.7k |
|---|
In writing up results for a Wilcoxon Signed-Rank test, do you have to state if there were no ties in the data?
Also, should the Z statistic be reported if the sample size is < 20 ?
Thanks!
|
I'm running a repeated measures experiment where each participant performs tasks under 3 different conditions (A, B, C). Under each condition, each participant performs tasks at 10 difficulty levels (i.e. each participant performs 30 trials, difficulty level 1 to 10 under condition A, difficulty level 1 to 10 under con... |
I have attached an example image of a specific format of size-frequency histogram that I am interested in using, however I have not been able to figure out how to create it in R. I do not see this rather unique histogram discussed in other threads.
Y-axis is size classes (in my case increments of 1mm from 0 to 15).
X-a... |
I have two classification models; $\text{model}_1$ and $\text{model}_2$. $\text{model}_1$ averages $80\%$ accuracy (on a hold-out dev set) and $\text{model}_2$ averages $50\%$ accuracy (on a hold-out dev set). Given an unseen sample, I will random use either $\text{model}_1$ with $\alpha$ probability or $\text{model}_2... |
I'm trying to understand how to solve the following problem:
I have to estimate each parameter of
$f(x)=pϕ(x│μ_1,σ_1^2 )+(1-p)ϕ(x|μ_2,σ_2^2)$
using maximum likelihood estimation. $ϕ(.|μ,σ^2)$ is the pdf of a normal distribution.
So, as I understand it, what I have to do is
$\mathcal{L}(\mu_1,\mu_2,\sigma_1,\sigma_2)= ... |
I'm learning about statistics, so I am still a beginner. I was learning about the empirical rule, but I don't really understand it well. I think that it means that when you calculate the standard deviation, 68% of all data points are within that standard deviation. But when I try this on a simple dataset of 1 to 100:
[... |
I fitted a regression model and getting trouble to interpret the Half-Normal plot of Pearson and Deviance residuals.
In general the fit looks good because the residuals are inside the confidence bands. But what more I can say?
I read this topic How to interpret a QQ plot but not sure if the interpretation is the same... |
I have a matrix of size (47*47 double) that have only 0's and 1's.
I want to apply the Markov clustering algorithm on this matrix, but this Method needs a transition matrix as the columns must be normalized to sum to one.
Could anyone help me to turn this adjacency matrix into a transition matrix.
I appreciate any help... |
I'm doing a logistic regression, which I understand I can do by simply saying
$$
\operatorname{logit}(Y)=\beta_0+\beta_1 x+\varepsilon
$$
where $\varepsilon$ is normally distributed around $0$. Then then we can use the usual OLS methodology to fit the $\beta$s, and when we set $\varepsilon =0$, this gives us our best ... |
How can I find the CDF for $F_{X,Y}=\{x,x\}$ if $X,Y$ are not-independent. In other words, what will be $Pr\{min(X,Y)<x\}$ if $X,Y$ are not-independent?
If I already know the individual CDF of both $X$ and $Y$, i.e. $F_{X}(x)$ and $F_{Y}(x)$, can they be useful to compute the $Pr\{min(X,Y)<x\}$, where $X,Y$ are not-i... |
I'm learning time series and following this tutorial
When it comes to simulation, there are 2 types AR:
AR1: x1 = arima.sim(list(order=c(1,0,0), ar=.9), n=100)
AR2: x = arima.sim(list(order=c(2,0,0), ar=c(1,-.9)), n=100)
The value in ar is called phi. But I don't know what is it? In AR2, there are 2 values in ar, do yo... |
I wonder whether the disease risk score and the propensity score can be simultaneously used and whether they have been ever been used together in the past.
|
Let's say we have points $x_1,\ldots,x_n\in\mathbb{R}^N$ and let $X=\{x_1,\ldots,x_n\}$. I wish to produce a resampling $y_1,\ldots, y_m\in X$ (allowing repetitions) such that the new kernel density estimates at $y_i$ are all roughly equal. That is, I want my resampling to obey
$$
q_i = \frac{1}{m}\sum_{k=1}^m K(y_i-y... |
I have a repeating sequence like the following, with occasionally random values (maybe noise): ABCDABCEDABCDABCD
What could be an algorithm to model the sequence and predict a following value at a certain time. For example I had ABC and no it should say D (of course it can only give a percentage since it is not always ... |
I have one continuous dependent variable, and two independent variables. The first independent variable is categorical (three groups) and the second independent variable is continuous.
The DV is a measure of size, and the IVs are group and age. I am interested in how the group affects size. The age is a possible confou... |
Im working on some school exercises and just cant figure out how to find answer:
First, I would like to regress $Y_i$ exclusively on the intercept and compute its residual $u_{Y_i}$. Secondly, I would like to regress $X_i$ exclusively on the intercept and compute its residual $u_{X_i}$.
Based on that, I would like to d... |
I use neural networks for online sequence prediction. The performance of LSTM in this case, however, is not nearly as good as I expected. Maybe someone can help me understand where the problem lies.
The peculiarity of online learning is that there is no test data set because the underlying sample distribution is allowe... |
I struggle with that thought process a bit - intuitively I get why the ACF of an MA(q) would cut off as there's no more dependence for >q.
But if we can express an MA(q) as an AR(∞) - how does that agree with the fact that the ACF of an AR process doesn't cut off?
Furthermore, why does the PACF for an MA(q) not cut off... |
Intuitively it seems right but does someone see how to algebraically show that
$$\sigma^2_y=\frac{1}{n}\sum_{i=1}^{n}(y_i-\bar{y})^2=\frac{1}{n^2}\sum_{i<j}(y_i-y_j)^2$$ assuming $\bar{y}=\frac{1}{n}\sum_{i=1}^{n}y_i$
Expanding gives:
$$\frac{1}{n}\sum_{i=1}^{n}\left[y_i^2-\frac{2}{n}y_i\sum_{j=1}^{n}y_j+(\frac{1}{n^2}... |
Let $X$ be a $n\times p$ data matrix from $N_p(0,\Sigma)$. Let $C_1$ and $C_2$ be two symmmetric idempotent matrices. When are $X^tC_1 X$ and $X^tC_2X$ independent?
|
I am trying to calculate the limit of detection and quantification for an analysis method that uses a quadratic fit.
In my case, LOD and LOQ are defined as:
LOD: The limit of detection of an analyte is the lowest concentration that can be qualitatively detected but not necessarily quantitated as an exact value.
LOQ:... |
So I am given that the distribution is exponential
$f(x|\lambda) = \lambda e^{-\lambda x}$ for $x > 0$
I am also given that there is an independent sample size $n$, $X_1, X_2, ..., X_n$
I am given that the null hypothesis $H_0 : \lambda = 1$
and the alternative hypothesis $H_a : \lambda > 1$. So I noticed that this is... |
I have the following design.
In each sampling plot, I measure food in four patches (BD, BF, OD, OF). From those I calculated preference for B trays and for D trays. So for every sampling plot I have two values.
I want to compare if preference for B trays are greater than the preference for D trays.
I used the mainly i... |
I am training a simple neural network on the CIFAR10 dataset. After some time, validation loss started to increase, whereas validation accuracy is also increasing. The test loss and test accuracy continue to improve.
How is this possible? It seems that if validation loss increase, accuracy should decrease.
P.S. There ... |
Suppose that we have a set of linearly separable data and this pseudocode of Perceptron:
Input: (xi, yi), i=1,...,n, w = 0, k = 0
Repeat:
k = (k + 1) mod n
if(sign(yi) != sign(traspose(w)*xi) then
w = w + yi*xi
end if
until(every point is not misclasified)
Is there a way to modify this code to get a separa... |
I'm trying to fit a cubic smoothing spline model to a longitudinal data using mgcv:gam. I have 30 observations collected from 5 subjects (A, B, C, D, and E) at 6 time points (0, 1, 144, 600, 1440, and 2160 hours). I fit the model as follows:
require(mgcv)
# data is ordered as A-t1, A-t2, ..., A-t6, B-t1, B-t2, ..., E... |
I am facing with the situation where the dependent variables is student test scores (student level) and the independent variables are school characteristics (school level). And I am trying to see how school characteristics affect student outcome.
Since the LHS and RHS are of different levels, how should I deal with th... |
I want to perform a chi-square test on some data. To generate the histogram, I can use python's y,x = np.histogram(data).
This gives me the height of the histogram, y, and the bin edges x (I can find the bin centres easily).
I have the choice of normalizing the histogram. My question is: If I plan to perform a chi-sq... |
Problem (not course-related)
I believe that if $X$ and $Y$ are iid $N(\mu, \sigma^2)$, where $\mu>0$ and $\sigma^2$ is not too large compared to $\mu$, then:
$$\log(e^X + e^Y-1) \approx N(\mu^{*}, (\sigma^2)^{*} )$$
for some new mean $\mu^{*}$ and variance $(\sigma^2)^{*}$. I believe this to be true due to simulations ... |
Question: When (for what types of data visualization problems) are heat maps most effective? (In particular, more effective than all other possible visualization techniques?)
When are heat maps least effective?
Are there any common patterns or rules of thumb one can use to decide whether or not a heat map is likely to ... |
in my SEM, I have two latent constructs that I regress towards an endogenous continuous variable (using maximum likelihood robust). The two latent variables covary. Are they endogenous then?
Thank you in advance!
|
I am currently trying to build a mixed effect model using the lme4 package with the in-built lmer() function.
My goal is to predict the number of units sold in a specific site on a specific date based on independent variables such as the retail price or promotions.
Note: I transform the number of units sold in each da... |
I have credit card transactions data, and I'd like to detect anomalies whitin customers transactions.
When I have the customer historical data, I can use multiple algorithms in order to detect anomaly behavior. However, I'm facing troubles when I'm trying to detect for anomalies in "new" customers transactions (not on... |
My question is really basic, if I have used PCA on some data to get it into lower dimension, is it possible do group data into each separate principal component? E.g. this data "belongs" in PC1
|
I fitted a beta regression model via MCMC with a complementary log-log link function. Is there a way to interpret it in a layman's terms?
The estimates of the model are:
\begin{align}
\beta_0 &= -1.12 &\beta_1 &= -0.142 &\beta_2 &= 0.127 \\
\eta_0 &= -3.22 &\eta_1 &= 0.72 &\eta_2 &= 0.87
\end{ali... |
I have two questions about Diff-in-Diff (on Stata) I haven't found any clear answer to.
I refer to this example to make things easier: http://www.princeton.edu/~otorres/DID101.pdf
Let's say:
'country' is a region;
'treatment' is the introduction of a policy for social support of the unemployed;
'y' is an aggregate meas... |
I have a dataset with 19 features and one binary label (Error: Yes/No).
What I would like to find are the maximum values for each of the 19 features, where crossing them would mean having an unacceptably high risk of the "Error" value being a "Yes".
I'd do this, for example, by calculating the AUC of a feature based on... |
I have the following problem:
I have a random vector $y$ which has length $l$.
The first $z$ bits come from a Bernoulli random variable with parameter $\theta_1$ and the next $l-z$ come from a Bernoulli random variable with parameter $\theta_2$.
I need to find the values of $\theta_1$ and $\theta_2$. I don't need $z$ b... |
I have done 400 repetitions of a particular MCMC simulation (Metropolis–Hastings algorithm) to get a quantity of interest $N$. The simulation reaches its steady-state after ~$10^5$ iterations. The typical correlation length is around ~$10^5$ iterations too but to be on the safe side, I have used a burn-in time of $10^6... |
I have a signal (voltage vs time) from a measurement device. The device outputs exactly one datapoint every constant time interval dt. Theoretical reasons lead me to suppose that the data is following a hyperbolic curve $f(x)= \frac{mx}{k+x}$. Using scipy I performed a fit to the data using the curve_fit function (whic... |
There's a game called Cthulhutech which has a dice-based problem resolution system.
I'll use a notation of nd+b where relevant, where "n" is the number of 10-sided dice (giving a value from 1 to 10), and b is the skill bonus.
The first part is simple: The result of a roll is (initially), the highest of all dice.
The ne... |
However, when I checked the results using, vcovHC=sandwich, I found different results. Can anyone help me to figure out the difference?
F1=lm(Rcf~Rmf)
F1test=coeftest(F1,vcov=sandwich)
** VS.**
F1=lm(Rcf~Rmf)
F1test=coeftest(F1,vcovHC=sandwich)
|
The question: Is there an appropriate statistical test of a change in dispersion across a large number of variables as a result of experimental manipulation?
Background: A manipulation has been made to a regulatory 'error-checking' gene and RNA-sequencing has generated count values for the level of expression of thous... |
Due to an upcoming exam I came across the following past exam question which at first seemed easy. The question is as follows.
Let $f(y_i) = (\frac{k}{y_i})^2$ be the density function of the (random) income of agent A where $k$ denotes the minimum amount. As such the income follows a pareto distribution with support $... |
I want to use machine learning to predict/classify a set of samples with about 6 features each. My target is multilabel with 3 possible values.
I've plotted all 2-length combinations of features, with the target color coded in either green, red or blue. Looking at the plots, there's no discernible pattern or boundaries... |
My data consists of the behavior of animals. The "behavior", which we just call $y$, has a lot of variation. I have fitted a regression model, and my $R^2$ is at $30 \%$.
The purpose is inference, not necessarily prediction, but still, is this sort of $R^2$ acceptable for such data?
This is the first time I am doing ... |
I have time series data from 1947-1971 for prices and quantity indices. In the original paper from 1975 which I obtained the data the authors did not detrend the data. Here is how I detrended the data:
I applied the Hodrick Prescott filter to each of the variables via Eviews
I obtained the residuals values from the... |
My questions is: What is the "real" difference between Reverse nearest neighbor(RNN) and Nearest neighbor(NN) queries? In my opinion, these two should return same result.
|
I am using logistic regression to model habitat suitability for bighorn sheep. I've followed the "purposeful selection of covariates" method outlined in Hosmer, D. W., S. Lemeshow, and R. X. Sturdivant. 2013. Applied logistic regression. Hoboken, NJ: John Wiley & Sons, Inc. This went well, and I came up with a model w... |
I am performing a meta-analysis of pharmacokinetic crossover trials with drug-metabolising enzyme activity as their endpoint(s), and as to be expected, the data are a mess and are reported in a frustratingly wide array of formats.
In particular, I want to convert some of the literature-reported, natural log-back-trans... |
In ?glmnet::glmnet documentation, it says
Do not supply a single value for lambda (for predictions after CV use predict() instead). Supply instead a decreasing sequence of lambda values. glmnet relies on its warms starts for speed, and its often faster to fit a whole path than compute a single fit.
Why? What is the "... |
Consider $Y_1\sim \operatorname {Poisson}(\lambda\psi)$ and $Y_2\sim \operatorname {Poisson}(\lambda)$, where $Y_1$ and $Y_2$ are independent, and where we are interested in testing $H_0: \psi =1$. The joint likelihood function is given by $$f_{Y_{1},Y_{2}}(y_{1},y_{2})=\frac{e^{-\lambda\psi}(\lambda\psi)^{y_{1}}}{y_{1... |
I have gone through various materials online but all the formulas were for small values of n(number of rows) say like 100,120 etc.But my problem is to calculate the critical value
for values of n(number of rows).Using the tests like t-tests etc are givings unexpected results like the relation which is not actually sig... |
I am trying to run a meta-analysis calculating the mean effect size of a manual therapy treatment on pressure pain threshold pre-post treatment (i.e. within-group change), so there is no comparison to sham/control. I will be using mean change from baseline (continuous) and I have SDs/CIs of the change. There are 10 stu... |
I have generated histograms from each of the succeeding years. I thought of plotting the skewness and kurtosis of each to compare them. I am not sure if a qualitative description suffices to show their differences. Is it possible to do hypothesis testing to compare the measures of shape between histograms (e.g. skewnes... |
This is with refernce to the paper Efficient Object Localization Using Convolutional Networks, and from what I understand the dropout is implemented in 2D.
After reading the code from Keras on how the Spatial 2D Dropout is implemented, basically a random binary mask of shape [batch_size, 1, 1, num_channels] is implemen... |
I have been often using GEE for complex panel analyses. However, it occurs to me that in many cases GLM would have provided similar results.
What is the main conceptual difference between the two?
|
I am a bit confused on the size of the SOM grid size suggested by Vesanto.
Here in this link, it says 5*sqrt(N) where N is mentioned as the dataset size. What is meant by dataset size? the number of observations (rows)? number of dimensions (columns)? or product of the two?
And here also there is a mention of it, but t... |
I have been trying to figure out the implementation in knime. The tool says it uses Fisher scoring (FS). I understand Newton Raphson-method from http://www.win-vector.com/blog/2011/09/the-simpler-derivation-of-logistic-regression/ but can someone explain what is the exact difference between Fisher scoring and the Newto... |
I'd like to get advise if I'm doing it right.
I have following dataframe (below attached) with the activities count with occurred date. An also per "Slug" I have its published day, e.g. zero-day in different dataframe. So I need to figure out what the probable lifetime (in days) of any random "Slug" is?
So I computed i... |
I want to create this kind of chart for my own data (also health indicators as in the example).
I found that in the page were the image was included]1 that they call this plot 'spine chart' , but, after a long search in Google, I couldn't find any other examples. Neither I could find any other names for this kind of p... |
I am currently working on a data set consisting of 300 predictors and a dependent variable. The predictors are categorical variables (taking values 0,1) and for every observation only a subset of them is active, i.e. taking the value 1.
Every predictor is a client and the predictor takes the value one, if a client has... |
I have two samples of binary variables (i.e. 0 or 1). Both samples have unequal observations but the same median value of 0. When I test to see whether the two samples' median values are statistically different from each other, both the Wilcoxon rank-sum test and Moody's median test show a statistically significant p-v... |
I am doing a grid search for model fits to data. At each point of the grid (let's say a 2d parameter space) I have a value for the statistic
$\chi^{2} = \sum_{i}\frac{(O_{i}-E_{i})^{2}}{dO_{i}^{2}}$
where $O_i$ are observed data points, $E_i$ the model values and $dO_i$ the (generally different) errors on the observed ... |
I have usage data of many machines like this:
In this machine, the usage grows linear with the time. However, in early 2016, someone or something messed with the total usage in hours and the next measurement dropped down to about 2500. From there, the slope is equal to what it was before.
I'd like to automatically fin... |
I would need some help with the analysis of a soil data set. The variable Ms was measured with n=5 over several campaigns (7 levels; i, ii, iii...) throughout a year on an agricultural field that received different treatments (4 levels; T1, T2, T3, T4). First, I assumed that I could simply do a two-factor ANOVA with Tr... |
I perform a Logistic Regression in R which looks the folllowing:
logit <- glm(result~Condition+Strength, data = combined, family = binomial)
I am mainly interested in the effect of Condition on result while controlling for Strength. So far the effect is significant. Furthermore I want to include another variable calle... |
I have a right-censored data set. I plot a Kaplan–Meier survival curve using R:
The y-values are easy to interpret, e.g. about 45% of the population will survive 500 days.
Now I plot the Nelson–Aalen cumulative hazard curve by setting the parameter fun="cumhaz" in the plot function:
Do the y-values have any intuitive... |
I understand how to obtain coefficients and MSE from glmnet. Now my question is: How can I calculate the goodness of fit of the model in terms of standard measures, i.e. F-statistics AIC or alike?
|
I have a pool of users and I am able to send them push notifications. I want to measure the effect of receiving a push notification on a usage metric, such as using a feature in the game within the next 7 days. So I want to measure the effect of a dichotomous variable (seeing a notification) on a dichotomous variable (... |
Let's consider that I have a state 0 that goes in three directions: one leads to a recurrent state, and the other two go to different states with periods M and N. What will be the period of a state 0? Would be glad to see a detailed explanation.
|
Where can I find reading material on the "scaled t distribution"? Wiki does not help
What is it? How is it different than the t-distribution?
|
I want to model the effect of treatments (fragmented and continuous forest) on species abundance within three different elevational regions in R, using the lme4 package. I'm also interested in differences between elevations, so I included this term in the model as a fixed effect:
model <- glmer(abundance ~ (1|site) + t... |
I have 2 models. One is mixture of binomials with $p_1=1/3$ and $p_2=2/3$, second - mixture with $p_3=1/4, p_4=2/4, p_5=3/4$. Priors are equal and uniform inside each model and between models.
The question is: for a data point (a,b) say which model is more likely for this data.
It is worth to mention that the data poin... |
I was wondering how is cluster analysis is done when more than 2 variables are considered. For example, I was told to do a clustering with the following combinations:
Longitude and latitude
Longitude, latitude and mean
Longitude, latitude, mean and elevation
As far as I know, I am aware that you could visualize the d... |
This question came up in class: If we use p-values to evaluate hypotheses on an experiment, which part of the Likelihood Principle are we not obeying: Sufficiency or Conditionality?
My intuition would be to say Sufficiency, since computing a p-value relies on unobserved outcomes of an experiment, and Sufficiency seems ... |
I am given a linear model where the residual variable $u_t$ is stationary and verifies: $$E[u_t|u_{t-1},u_{t-2},...]=0$$
I also have $$\sigma^2_ t=Var(u_t|u_{t-1},u_{t-2},...)=\alpha_0+\alpha_1u^2_{t-1}$$
I am asked to determine $Var(u_t)$. I tried to use the law of total variance:
$$Var(u_t)=E[Var(u_t|u_{t-1},u_{t-2},... |
In Shumway & Stoffer, Time Series Analysis and Its Applications, it is argued in Section 5.3 that the limiting random variable for the Dickey-Fuller test statistic is
$$ \frac{\chi_1^2 - 1}{2(\int_0^1 W^2(t) \, d t)},$$
where $\chi_1^2$ is a Chi-Square distributed rv with one degree of freedom, and $W$ is a standard B... |
I have written a Matlab function to calculate Mardia's Skewness and Kurtosis. (S is the Covariance Matrix and X_bar is the mean vector.)
$$b_{1,p}=\frac{1}{n^{2}}\sum_{i,j=1}^{n}[(X_{i}-\bar{X})'S^{-1}(X_{j}-\bar{X})]^3$$
$$b_{2,p}=\frac{1}{n}\sum_{i=1}^{n}[(X_{i}-\bar{X})'S^{-1}(X_{i}-\bar{X})]^2$$
function [ b ] = Ma... |
I'm trying to find the probability distribution of the random sum $Y$ of $N$ random $X_i$ variables where:
$$ Y = I(N > 0) \sum^N_{i=1} X_i $$
$$ N \sim \mathrm{NegBin}(r, \theta)$$
$$ X_i | p_i \sim \mathrm{Bernoulli}(p_i)$$
$$ p_i \sim \mathrm{Beta}(\alpha, \beta)$$
The setting is similar to a question I had asked re... |
Gretton et al describes the Kernel Maximum Mean Discrepancy, a measure of distance between distributions. In order to compare two distributions, it turns out you can do much better than, say, taking the L2 distance between density estimates. As explained in section 3.3.1, the latter approach suffers from curse of di... |
I was reading that backpropagation can't be used for binary threshold neurons.
Binary threshold neurons calculate a cost using some weights, so why can't those weights be changed with backpropagation?
|
Let $X_1, . . . , X_m, Y_1, . . . , Y_n$ be independent with $X_i ∼ N(ξ, σ^2)$ and $ Y_j ∼ N(η, τ^2).$
What is the minimal sufficient statistic for $(ξ,η,σ^2)$ where $σ^2 = τ^2$?
I've seen MSS derived from a single distribution by using the result shown
here. Not sure how to approach the above question however.
Edit:
... |
I'm unable to get a good result with my Content-Based recommendation (very low Precision)
Items are different sort of services (Yelp DataSet).
To compute the item's profiles, I used a classical approach with TF-IDF. Where each item has a number of attribute, and TF-IDF gives the weight of the attribute in the item.
To ... |
Looking for some help. Here's my qq plot. I already deleted the most extreme outliers, but some remain. Also, what about the distributional assumption?
|
I was going through the paper of O'Malley and Zaslavsky (2008) for the scaled inverse Wishart priors for a covariance matrix, in order to write an R-code for hierarchical Bayesian estimation of mixed logit model.
They have decomposed the covariance matrix as $\Sigma = \Delta\Phi\Delta$; $\Delta$ is a diagonal matrix o... |
This table shows the number of stories reported by the New York Times on Afghanistan in which a US government official was quoted.
Each row does not represent all stories but, rather, a sample of three constructed weeks of stories during that time period (IOW, all Afghanistan stories from three randomly selected Monda... |
I have two samples (from two experiments) with different variances, and I want to combine these two samples with a factor (1 and 2 for each experiment), and then maybe do a multilevel multivariate analysis.
Where can I find literature on the issue of whether I am allowed to combine these two samples with a factor?
Or... |
When to Be Discrete: Continuous vs. Categorical Predictors. I want to know whether I should bring variables as categorical into the model or continuous? Which factor should I consider? When should I categorize one continuous variable? When shouldn't I? And How categorize a continuous variable?
|
Lets say an application has to show documents which are relevant to users out of thousands of document in the dataset in content based system, which technique(set of algorithms) should be used ?
Problems to address:
The result should consider user's past preferences (history)
How to recommend any document when a new ... |
I am working on a machine learning algorithm which performs a binary classification. I have different features, and I would like to know which of them are better for the classification, I mean what of them really make a difference between classes and what of them are not important.
I have thought of computing the norma... |
Notice that it has groups $(D_1, D_2, D_3)$ and each group has subgroups $(c_1, c_2, c_3)$. .
|
I am trying to figure out if I've got it down correctly. (Sorry it's so small, you can click on the picture to enlarge it)
EDIT: About the notation: A random experiment is performed and the set of possible outcomes is $S = \{s_1, s_2, s_3, s_4, s_5 \}$. The random variable is an injective function $X: S \to \mathbb{R... |
The exponential distribution is well-known and widely used but defined for a continuous variable. Is there a discrete version of it?
|
If I have N of about 3000 data points, each of about dimensions d of 50, and so the k in kNN is sqrt(3000/2) is about 40, then applying kNN to these points
would be about O(NdK) = O(3000*50*40) which doesn't seem bad.
I've heard that kNN is very susceptible to the curse of dimentionality, but
Question = if I use it... |
What are other ways of feature selection within a dataset $X$ for classifying a binary response variable $y$. I know such tools as logistic regression / linear SVMs with an l1 penalty, and sparse PCA. Then in the nonlinear category I only know of random forest / extra trees ensembles using feature importance metrics.
... |
I'm currently revising for an exam and I don't understand one of the questions. Given are the following expectation / mean vectors and covariance matrices:
A) $\mu_1 = \begin{pmatrix}0 \\ 0 \end{pmatrix}, \Sigma_1 = \begin{pmatrix} 1 & 0 \\ 0 & 1\end{pmatrix}$
B) $\mu_2 = \begin{pmatrix}3 \\ 2 \end{pmatrix}, \Sigma_2 =... |
Descriptions of boosting (and specific techniques like gradient boosting) typically talk about "weak learners" in general, and then immediately switch to discussing boosted trees specifically.
Why is this? I've seen some discussions regarding boosting SVMs, but little to no discussion about boosting neural networks or ... |
I have a random Variable $X$ is $ SN(\lambda)$ and is pdf is given by:
$f(x)=2\phi(x)\Phi(\lambda x)$.
The model of the variable X is given by:$X=\frac{1}{\sqrt{1+\lambda^2}}Z_1+\frac{\lambda}{\sqrt{1+\lambda^2}}|Z_2|$ where $Z_1$ and $Z_2$ have $N(0,1)$ and are independent.
What I need to do is to find the moment est... |
Consider the smoothing spline
$$
\hat f = \arg\min_{f}\sum_{i=1}^n{(y_i-f(x_i))^2} + \lambda \int_0^1{f^{(m)}(x)^2dx}.
$$
It is well-known that the estimate $\hat y_i=\hat f(x_i)$ can be expressed as $\hat y=Kx$ for some $n\times n$ matrix $X$ that depends on $x$ and $\lambda$ only.
Question: how can I compute $K$, giv... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.