instruction stringlengths 9 38.7k |
|---|
I am curious if tests such as Rayleigh's test, Kuiper's test, and Watson's test are valid for bidirectional data (i.e. 180 degrees) as well as unidirectional data.
If not, what are the appropriate corresponding tests?
|
I would like to perform some sort of binary classification, and my data set consists of 100 examples (for each class), which are vectors with 2500 elements. Ideally, I would like to determine which the most important features are (i.e. best discriminating between those two classes) and reduce the number of features to ... |
I have a dataset which consists of 190,455 nodes and 1,241,638 edges. These can be broken down into a set of 2300 subgraphs which are not connected to each other. I am having trouble creating visualisations for this using tools such as Gephi (Yifan-Yu seems to work best) as the layout takes a very long time and doesn't... |
I just studied (again) some statements of the Durbin-Wu-Hausman (DWH) test.
After I thought about the theory behind the DWH test, is it not basically kind of useless since I cannot tell if there's actually a problem regarding endogeneity or not?
For completeness, the hypothesis of the test:
$H_0: \ \ y = X\boldsymbol{\... |
I am new to sequence analysis and wondering whether TraMineR can calculate Elzinga's turbulence and similarity index or I should learn to use his CHESA software to do this? I appreciate any thoughts as I learn to do sequence analysis.
|
I am working my way through LDA and I think I got they main idea of it. Please correct me if I am wrong. Given the Plate notation:
The variables $\alpha$ and $\beta$ are Dirichlet distribution parameters. The variable $Z_{d,n}$ assigns observed word $W_{d,n}$ to topic $\phi_k$, which is a distribution over words. Vari... |
I'm doing my regression using Apache's OLSMultipleLinearRegression class.
How do I get the p-value? Is there another name for p-value that I should be looking for in the docs?
EDIT: I have the regression params and the standard error for each param. Is it reasonable to calculate my own p-values? Any reason this wo... |
Let us assume the following data generating process:
(1) $ \ \ y = X\beta + u$
where $y$ and $u$ are $n\times 1$ vectors, $X$ is a $n\times k$-matrix with $rk(X)=k$ and $\beta$ is a $k\times 1$-vector of coefficients. For the OLS-estimator to be unbiased we need to assume that the conditional expectation of $u$ given... |
After running ctree(model)
My result look like this below :
1) iv == (a,b,c) ; criterion = 1 , statistic = 200
2) iv2 == (x,y) ; criterion = 0.99 , statistic = 32
3) iv3 < 30 ; criterion = 0.91 , statistic = 35
4) weight = 100
I am new to this , but can anyone please explain to me say my tot... |
I would like to generate synthetic microarray data sets for simulation purposes.
The web and literature search so far returned the following:
Microarray Simulator - It provides Matlab skripts to simulates all the pipeline before the actual values. For my needs it is overpowered - and I also would like to have some met... |
I'm trying to calculate c-hat, the overdispersion parameter for a QAIC model set. According to Burnham and Anderson, you're supposed to calculate c-hat on the global model. Is the global model the model from the a priori set that has the most parameters, or is it a separate model not in the candidate set that include... |
At the end of each day "i", I record my weight "w[i]", and the number
of calories I've consumed that day "c[i]".
I believe my weight change "w[i]-w[i-1]" is proportional to my net
calorie intake: "w[i]-w[i-1] = k1*(net calorie intake)".
The number of calories I burn is a linear function of my prior day's
weight: "... |
I need to perform cluster analysis on my data set which includes both continuous and categorical type of variables. Having read around, I think K-Means is not a suitable technique for mixed data. Can I use Two-Step Clustering for the analysis? If yes, how are the categorical and continuous variables treated, technicall... |
I'm trying to create some kind of iterative Bayesian algorithm, which continuously updates as more data is gathered. However, the distribution of my data is such that there does not exist a conjugate prior, so I'm thinking of using something like Gibbs sampling to generate my posterior distribution.
However, if I want ... |
I want to use a set of daily water quality data including 3 parameters in a Copula model. Somebody told me these data do not have a condition of a random variable to use in copula, and I should do some work on it (my guess is that it involves detrending the data).
Can anybody help me in finding methods to prepare the... |
My survey is based on observations and interviews. The observation questions are yes/no type questions and interview questions are 4 points.
$1=$ never, $2=$ sometimes, $3=$ usually, and $4=$ always.
Yes $=1$, No $=0$.
If I add up all these with highest possible score and divide it by the total score received, I... |
My question is, how to get effect sizes for a linear mixed model?
I am using the following model in SPSS:
MIXED
transfer BY distance training rotation sequence WITH pretest
/CRITERIA = CIN(95) MXITER(100) MXSTEP(5) SCORING(1) SINGULAR(0.000000000001)
HCONVERGE(0, ABSOLUTE) LCONVERGE(0, ABSOLUTE) PCONVERGE(0... |
Is $f(x)=e^{x^Tx'}$ a suitable kernel to be choosen? If so, to what dimension does it transform the data?
|
I would like to predict the number of flu cases in the future using predictive modeling. I am very new to statistics, so I'm not sure which classifier to use in this case.
For the attributes, I'm using historical data (2 years) as well as geographical location and age groups.
Are these attributes enough?
What classifie... |
I know that for panel data RE probit model we should average out the individual effects and in order to do that we do the following:
$$f(y_1,...,y_T|x_i, \theta) = \int[\prod_{t=1}^T f(y_t|x_{it},c;\beta)\frac{1}{\sigma_c}\phi(\frac{c}{\sigma_c})]dc
$$
I would be very grateful if someone could explain how an assumptio... |
I'm generating random multivariate normal data using the rmultnorm() function in R, which allows users to specify a vector of $k$ population means and a $k \times k$ variance-covariance matrix.
Given $\newcommand{\Var}{\mathrm{Var}}\Var(X)$, and $\Var(Y)$, what are the boundaries for the values of $\newcommand{\Cov}{\... |
What are the mathematics that are necessary to understand Hidden Markov Models? Matrix Algebra? Linear algebra? Calculus? Bayesian statistcs?
|
I am wondering if two dependent log normal variables $X$ and $Y$ are jointly log-normal would there Gaussian counter parts as in $\ln X$ and $\ln Y$ be jointly normal ? Also what about the converse as in if, $\ln X$ and $\ln Y$ are jointly normal would, $X$ and $Y$ be jointly log-normal or normal ? I am relatively new ... |
I'm having a difficult time with discrete Markov Chains. In particular, I need help with part c, d, and e on this problem. I do not understand how you can directly calculate the expected first return time to state 6 in part c, how to calculate the probability that the first return time to 6 is finite given you start in... |
I am fitting a generalized linear model in R with the log link and I need to validate and diagnose my model. I have never worked with the GLM in the past.
Is there an article or any references I can look for that would help me learn how to diagnose the model?
Does anyone have any tips for me on how to do this or ev... |
I'm starting studying maximum likelihood estimation, and I have came across to a problem that I don't know how to solve yet.
How can I write the likelihood function to test the hypothesis that some treatment reduced the proportion of something bad to happen when compared to a control group? I understand I am dealing w... |
Freedman's Statistics (p. 147 of the hardcover edition) says that if $Y$ is estimated using the SD line (rather than the regression line) then the RMS error of the residuals is $\sqrt{2(1-|r|)}\sigma_Y$, where $r$ is the correlation. What's the derivation for this result (and under what assumptions is it true)?
|
Say there's a new machine for use in testing a biochemical marker's concentration in the blood, and we would like to know the reproducibility of this test.
We draw blood samples from 10 volunteers, and repeatedly measure the biomarker's concentration on each patient's blood sample five times.
(10 samples, each sample i... |
Do we know anything about the tail distribution of sum of squares of a limited number of i.i.d exponentially distributed random variables? I'm looking for a good bound.
|
If I use linear model, generalized linear model, partial least squares etc packages in R, and train it where, given key response variable RSP, the formula argument is of the form:
formula <- as.formula("f(RSP)~A + B + C") # use A,B,C predictors only
or
formula <- as.formula("f(RSP)~.") # use ALL predictors
and f(RSP)... |
I have been trying to estimate state space models using dlm package in R. The problem is that the model I am estimating requires inclusion of a few exogenous variables. I still can't figure out how to do it.
Does any one know how to add exogenous variables to a state space model in dlm package?
|
Correlation, $r$, is a measure of linear association between two variables. Coefficient of determination, $r^2$, is a measure of how much of the variability in one variable can be "explained by" variation in the other.
For example, if $r = 0.8$ is the correlation between two variables, then $r^2 = 0.64$. Hence, 64% of... |
I have a big group of 1052 people. Out of 18 people with trait A 11 people also have trait B.
Out of the whole group of 1052 people 569 have trait B.
How do I determine in R whether the trait B is significantly different distributed in people with trait A compared to the overall population?
|
I have a very highly sampled time series that I would like to fit an autoregressive model (AM) to (~3 million samples). From knowing what they represent, I have believe there should be unique information out to ~1k sample points in the past. Thus I'm considering modifying a more standard AM.
This is what I'm calling t... |
I have following environment that I'd like to analyze.
My company is divided in two teams:
Insert Team (composed by 150 persons)
Quality Check Team (composed by 10 persons)
Suppose that all people of first team compile a form with 10 text boxes, for example: name, surname, address, category, studies, preferences, h... |
I have a measurement protocol that seeks to characterise the visual sensitivity of a subject. I would like to assess how reliable the measurements from this procedure are.
I have measured a small number of subjects, with two repeated measurements per day for a number of days (not all subjects did the same number of day... |
I have pretty much the same question as in this post:
I have a situation where I want to regress 50 daily observations of interest rate swap yields on four factors. Actually it's the Nelson Siegel Svensson model
http://en.wikipedia.org/wiki/Fixed-income_attribution
see the section
modelling the yield curve
At the momen... |
Given $X_1$, $X_2$ are independent EXP(1) random variables, how do I compute the following expectations:
$E[X_1 | X_1 + X_2]$
$P(X_1 > 3 | X_1 + X_2)$
$E[X_1 | min(X_1, t)]$
|
I have some data I need to visualize and am not sure how best to do so. I have some set of base items $Q = \{ q_1, \cdots, q_n \}$ with respective frequencies $F = \{f_1, \cdots, f_n \}$ and outcomes $O \in \{0,1\}^n$. Now I need to plot how well my method "finds" (i.e., a 1-outcome) the low frequency items. I initial... |
I ran a factor analysis on 20 reasons for purchasing 4 different goods. These are ranked on a Likert scale from 1 to 5 with 5 being "extremely important", 4 "important", etc.
I extracted 4 factors which I am able to label based on the group of reasons that loaded well into each of these factors. I saved these factors ... |
Generalized additive models are those where
$$
y = \alpha + f_1(x_1) + f_2(x_2) + e_i
$$
for example. the functions are smooth, and to be estimated. Usually by penalized splines. MGCV is a package in R that does so, and the author (Simon Wood) writes a book about his package with R examples. Ruppert, et al. (2003) ... |
I have a large set of predictors (more than 43,000) for predicting a dependent variable which can take 2 values (0 or 1). The number of observations is more than 45,000. Most of the predictors are unigrams, bigrams and trigrams of words, so there is high degree of collinearity among them. There is a lot of sparsity in ... |
I have a set of data, with outcome and time-varying variables, for patients during the course of their respective stays in the hospital. There is a dichotomous outcome on the last day. The length of stay may be different for each patient. I am most interested in making a predictive model, in the same spirit as one mi... |
Background:
The goal is to measure impact of advertising technique - retargeting. Retargeting is about showing related ads to prospects who add something to shopping cart but abandon it. We would be paying a fixed % of all sales that are made by visitors that are successfully retargeted.
The issue is that such program ... |
I am comparing an offender group with a control group on a certain task in a generalized linear model with accuracy (0-1) as the DV. The reviewers criticized me by mentioning that one group was imprisoned and the other not. I now want to control for the length they are imprisoned but of course, that is also correlated ... |
I have a scatter plot where each point is at integer coordinates that may include 0 for both X and Y. The range of each coordinate is large, but most of the data is clustered around 0.
Ordinarily, I would do something like a log-log plot to show the decades of data. But since there is 0, it's not ideal (I could add a ... |
Ten people taste wine A and wine B. Let $X$ denote the number who prefer A. Assume that all the others indicate a preference for B. The people are a random sample.
If $X=10$, and we test the null hypothesis of no difference in preference between the wines (vs. two-sided alternative), the $p$-value is equal to 0.0020.
I... |
I would like to understand better the derivation of the inter-arrival time for a nonhomogeneous Poisson process. Can any one supply a link to a nice clear derivation? I'm only interested in the time to the first event so the survival function would be great but general case is fine. The only references I can find essen... |
I saw this question in UIUC's probability class homework and it got me curious on how to solve it.
Suppose $X$ and $Y$ are jointly Gaussian such that $X \sim N(0, 9)$, $Y \sim N(0, 4)$; and the correlation coefficient is denoted by $\rho$. The solutions to the questions below may depend on $\rho$ and may fail to exist... |
I am trying to do a few tests in Minitab and I don't understand why they are not working out.
First, my data in minitab has several columns: Class Name Gender Height Age, where
Class has two values {A,B};
Name is the name of the students;
Gender is Female or Not female;
Age is the age of the student.
My question... |
Unexpectedly for me (!) I've recently learnt that:
"We have assumed that the error terms, $\epsilon_{ij}$, of the variates in each sample will be independent, that the variances of the error terms of the several samples will be equal, and, finally, that the error terms are distributed normally."
[in R.R.Sokal F.J.Roh... |
I've worked with certain causal/predictive techniques when handling two time series, but this problem is different from what I am used to and I'm not sure how to proceed.
I would like to see the causal influence of a single event on multiple time series. For example, an earthquake on a particular day having an influenc... |
A beginner's question about the Pearson's residual within the context of the chi-square test for goodness of fit:
As well as the test statistic, R's chisq.test function reports the Pearson's residual:
(obs - exp) / sqrt(exp)
I understand why looking at the raw difference between observed and expected values isn't that... |
Suppose I have two power generating technologies, Coal and Oil, of which the generating cost components(total generating cost = Capital cost+Fuel cost+Variable O&M cost+Fixed O&M cost) are correlated in the following manner:
Oil
Fuel Variable O&M ... |
One of the most serious shortcomings of covariance/correlation are the assumptions of linearity and normality.
What is the most natural generalization of these measures of dependence when you want to model the dependence structure of extreme events using heavy-tailed distributions, e.g. the Generalized extreme value di... |
What I'm trying to do is estimate the following GARCH(1,1) model in R with the garchFit function from the fGarch package:
Mean equation:
$Y_t = a + bX_t + e_t$
$e_t = z_th_t^{0.5}$
$e_t \sim N(0,h_t)$, $z_t \sim N(0,1)$
Variance equation:
$h_t = \omega + k_0e^2_{t-1} + k_1h_{t-1}$
In the above, $Y_t$ is the response ... |
I would like to forecast the non-stationary time series, involving several crucial a-priori assumptions following from studying of instances of such series.
I've constructed time-averaged one-point probability distribution function approximated by normal distribution. $$\hat p(x) = \frac{1}{\sqrt{2\pi \sigma^2_{\infty... |
I have seen something like
$4.1^{+2.1}_{-1.5}$
or
$4.1 [+2.1, -1.5]$
but I would like to know, what is the preferred way or something like a standard in scientific work (especially in physics/engineering)?
|
I used Tobit regression and wanted to test if the coefficients are significant. The problem is that when I run the R code I get t-values instead of z-values. I found code on how to calculate p-values for z-values and I'm wondering if you can use the same code for the t-values that you use for the z-values to calculate ... |
What I am looking to do is test for a correlation between an activity (in this case nesting) with cumulative rainfall from the previous two weeks. For example, say one individual nested on DayX where the total rainfall from the previous 2 weeks is 4cm and another individual nested on DayY with 8cm of prior rain, and th... |
I have the following state-space model:
$$\begin{aligned}
y_t&=c+Ax_t+q_t, &q_t \sim \mathcal N(0,Q), \\
x_t&=\mu+Bx_{t-1} + v_t, &v_t \sim \mathcal N(0,R),
\end{aligned}
$$
where the series $x_{t=1}^T$ is latent.
I am interested in estimating $\Phi=[ x_{t=1}^T, A,B,R,Q,c,\mu ]$ via Bayesian analysis using the Metrop... |
I'm reading Tuerlinkx & Wang, "Models for Polytomous Data". They write: "Apart from the intercept, the predictors that are included in the predictor matrix X can be classified into seven groups: item predictors, person predictors, logit predictors, and the four combinations of them. ... A logit predictor has the same v... |
Very often in time series literature, it is remarked that if a series is non-stationary the AcF will decrease to zero very slowly while the opposite occurs for a stationary series.
What's the basis for this "rule of thumb"? I know that for a strictly stationary process the autocorrelation is independent of time, where... |
I find it challenging to interpret interaction effects in OLS multiple regression where the interactions are between two categorical variables and between two continuous variables.
Say for instance that the interaction between sexfemale: medmobility is -10.1, where sexfemale is a categorical variable with male as the ... |
Suppose I have a regression model shown below
Model 1:
$$
Y = \beta_0^\ + \beta_1SEX\ + \beta_2ALCOHOL\ + \beta_3SEX*ALCOHOL\
$$
The predictors I am interested in are SEX (binary: 0 female, 1 male) and Alcohol consumption (binary: drinker, non-drinker). Suppose that I found a significant interaction between SEX and ALC... |
I applied Gaussian Mixture Model on my data and train the model in MATLAB. How I can test my model or use it to cluster new data?
Thanks for any answer or comment.
|
We performed an experiment on bacterial growth whereby optical density was recorded for three flasks of E. coli bacteria every 30 minutes for 4 hours. 2 flasks upon the 2 hour mark were inoculated with two different antibiotics, whilst the other served as a control.
Would a one-way ANOVA be appropriate in this case? Sh... |
In a RCT we would like to compare oncological outcome of two surgical 2-stage strategies, i.e. patients require to undergo both stages to become free of cancer.
The problem is that strategy A generally takes less time to come to the second stage becoming free of cancer.
On the other hand, in strategy B some patients mi... |
I have a data set of presidential election results for the past 33 elections. I threw out everything pre 1972, however, because of the structural changes that occurred through the decades, and because I am assuming a degree of auto-correlation in the data, so I want to get rid of previous trends that are not material c... |
Assume the model $ \ y = X\beta + u \ $ with $\ W \ $ is a $ \ n\times l \ $ so called matrix of instruments.
The following assumptions hold. There is a law of large numbers (LLN) for 1.,2.,3. and 4. such that
$\text{plim}_{n\to\infty} \ \left(\frac{X^TX}{n}\right) = m_{X^TX}$
holds where $m_{X^TX}$, a finite, non st... |
From what I read the Theil-Sen estimator seems to be a really cool estimator; robust and easy to understand. Would it be possible to device (or does it already exists) a Bayesian "version" of the Theil-Sen estimator so that you provide a prior for the slope and get a probability density back instead of just a point est... |
I have been trying to use sspir R package to estimate the following Poisson model:
$Y_{t}\sim Po(\exp(\lambda_{t}));$ such that $\lambda_{t}=X_{t}\beta
+\gamma_{t}$ and $\gamma_{t}=\theta\gamma_{t-1}+u_{t},u_{t}\sim NID(0,\sigma
^{2}).$
In State-space form, we have $\lambda_{t}=Z_{t}F_{t},$ $Z_{t}=\left[
X_{t}\: 1\righ... |
I am confused between what types of problems these three models capture, and their applications:
Latent Dirichlet Allocation (LDA)
Dirichlet Processes and Pitman-Yor processes
Hierarchical Dirichlet Process (HDP) & Hierarhical Pitman-Yor Processes
More than formal definitions (which I can find on Wikipedia), I am loo... |
I'm trying to plot forecast and real data on the same plot. But there is always gap between them on the image :
I use for the forecasting following code:
y=boardings[,1]
## Simple Exponential smoothing
#predict existing values
results=HoltWinters(y,beta=FALSE, gamma=FALSE)
#print data
print(cbi... |
I would like to compare two linear regression models which represent degradation rates of a mRNA over time under two different conditions. The data for each model collected independently.
Here is the dataset.
Time (hours) log(Treatment A) log(treatment B)
0 2.02 1.97
0 2.04 2.06
0 1.93 1.96
2 ... |
I am using logit models to predict whether or not children are unhealthy (binary indictor). Many of my models have statistically significant relationships between predictors of interest (ie, if the child’s household has improved water/sanitation) and the outcome. However, none of my models outperform a model which j... |
Scikit-learn has function to evaluate the F-statistics for univariate feature importance feature selection. According to the web page they are calculating ANOVA F value.
If I understood correctly, the univariate feature importance checks how important a specific feature is to the target without taking into considerati... |
I'm revising for an exam and have no idea how to approach this question:
Let $\{N_t\}_{t\geq 0}$ be a homogeneous Poisson process of parameter $\lambda > 0$. Let $\{X_k\}_{k\geq 0}$ be a sequence of random variables, identically independently distributed, with $E[X_k] = 0$ and $Var[X_k] = \sigma^2 < +\infty$. Is the pr... |
I want to compute predicted survivor function for a Cox proportional hazards
model with frailty terms [using survival package]. It appears that when
frailty terms are in the model, the predicted survivor function cannot be
computed.
## Example
require(survival)
data(rats)
## Create fake weight
set.seed(90989)
rats$we... |
The following graph shows the ACF (sample autocorrelation function) and PACF (partial autocorrelation function) of the residuals in a linear regression. There is a sinusoidal decay in the ACF and two spikes at lag 1 and 4 in the PACF. Considering the spike at lag 4, can we still assume AR(1) for these residuals? I shou... |
I am working on a problem where we are interested in finding the MLE for a function of two parameters.
I am having problems with going about finding this. Intuitively, the idea makes sense. I am just wondering about the definition of the MLE of a function of two parameters (Google isn't turning up much). The question i... |
Suppose I have two real-valued PMFs $f(i)$ and $g(i)$ with $1\le i\le N$ and $N$ is about 1 billion. The functions $f$ and $g$ can be assumed to be continuous on the positive integers, one-sidedly so at the endpoints of course. (Meaning if i and j are close, then $f(i)$ and $f(j)$ are close.)
Lets say I have several s... |
I have the following diagnostic plot for my data. Is normality violated, especially given the zig zagging residual plots?
|
This is more a question to make sure I have a good understanding.
Assuming that the variance of each sample is similar i.e., homogeneity of variance and $n_1$ and $n_2$ are the same. $$\text{df} = (n_1-1) + (n_2-1)$$ also the $$\text{MSE} = \frac{s_1^2 + s_2^2}{2}$$
Assuming that the variance of each sample is simi... |
The conditions that I have learned are as follows:
If the sample size less than 15 a t-test is permissible if the sample is roughly symmetric, single peak, and has no outliers.
If the sample size at least 15 a t-test can be used omitting presence of outliers or strong skewness.
With a larger sample the t-test can be... |
I am writing a manuscript using an experimental design which predicts interactions between 1 continuous variable and multiple dichotomous variables, all predicting a continuous variable. As is traditional in experimental design, I have used ANCOVAs to analyze the data, but am concerned about the inability to specifical... |
I need some hints for the following questions.
Let $X_1, \dots, X_8$ be a random sample from a normal population having known mean $\mu$ and variance 2. Let $\bar X_7={1\over 7} \sum_1^7X_i$ be the average of the first 7 of them.
What is the mean and variance of $X_8-\bar X_7$?
If $\bar X_7=4$, give an interval that w... |
This problem compute to showing cource.
Fie tosses of a coin with P(head)=p resulted in H,T,T,T,T.
1) Write the likelihood function L(p).
2) Compute the maximum likelihood estimate of p.
|
I'm doing a cross validation using the leave-one-out method. I have a binary response and am using the boot package for R, and the cv.glm function. My problem is that I don't fully understand the "cost" part in this function. From what I can understand this is the function that decides whether an estimated value should... |
There is a factor variable called "Treatment" in my data set. This factor consists of two levels, "C" and "H". I want to test whether there is there any significant difference between two levels. I can fit this model through lme(). I cannot include "Treatment" as a covariate in my model. My professor gave me the follow... |
I have used a DCC Garch model to estimate the co-movement between 2 indices using the following command in Stata:
mgarch dcc (X Y = , noconstant), arch(1) garch(1) constraints(1 2)
predict H*, variance
After the variance prediction I get a column with the variances per time unit. My question is how to transform the va... |
I have about 500 variables per patient, each variable has one continous value and is measured at three different time points (after 2 month and after 1 year). With the regression I would like to predict the treatment outcome for new patients.
Is it possible to use SVM regression with such longitudinal data?
|
Two common methods of testing whether a time series is stationary are the KPSS and ADF tests. If my understanding is correct, these tests essentially work by measuring the residuals of fitting the time-series to an autoregressive model which is linear.
So my question is this, if the time series is possibly of a non-lin... |
I was reading the slides from the following
http://www.slideshare.net/kunegis/searching-microblogs-coping-with-sparsity-and-document-quality
In slide 7, the author proposed just a linear model and with the weights calculated in slide 8, from what I read it says that the parameter are learnt from the dataset, may I know... |
I am programming a kNN algorithm and would like to know the following:
Tie-breaks:
What happens if there is no clear winner in the majority voting? E.g. all k nearest neighbors are from different classes, or for k=4 there are 2 neighbors from class A and 2 neighbors from class B?
What happens if it is not possible to ... |
We have some classifiers that classify text documents. Each classifier reports how likely their classification is correct based on what they know of the document. Classifiers do not know how accurate they themselves are.
If a classifier reports that it is 70% likely that document belongs to class A and that classifier... |
I have a set of 40 genes expression data as binary variables (overexpressed yes or not) for predict recurrence in a kind of cancer in a sample of 77 patients, where 22 has recurred. This set is called discovery set. The objective is to find a subset of these genes to predict the recurrence in cancer. Times to recurrenc... |
I'm trying to maximize the log-likelihood $y_1 \log(p_1) + (1-y_1)\log(p_1) + y_2\log(p_2) + (1-y_2)\log(p_2)$. I have data on success of an experiment. Y identifies if person died or not, and X identifies control or treatment group.
What's wrong with my code?
# MLE for the likelihood
y <- c(rep(1,39), rep(0,674-39), ... |
I have 3 time series and I would like to determine if there are any common patterns in the data. Zuur mentioned in one of his books that a reasonably simple approach to test this is based on repeated loess smoothing. Zuur states that to visualize the general patterns of the time series, we fit a loess smoother through ... |
Suppose that a random variable has a lower and an upper bound [0,1]. How to compute the variance of such a variable?
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.