instruction stringlengths 9 38.7k |
|---|
I have a dependent variable $Y$ (binary) and independent variables $X1$ and $X2$ (both binary). Variables $X1$ and $X2$ are both inherently correlated by the design of the experiment because $X2$ has been calculated from $X1$ ($X2$ is just a tweaked version of $X1$).
I am interested in testing whether $X2$ has a greate... |
Let $\lbrace Xn \rbrace$, $n=0,1,..$ be a discrete time markov chain with one-step probability matrix $P = \lbrace P(i,j) \rbrace, (i,j) \in S$ and no absorbing state.
Let $$Q = \lbrace Q(i,j) \rbrace$$
$$Q(i,i) = 0$$
$$Q(i,j) = {P(i,j) \over (1 – P(i, i)) }$$ for $i \ne j$.
Let $ \lbrace Y_n \rbrace, n=0,1,…$ be a D... |
Suppose, calculating the probability of having at least two peoples same birthday from 25 people. What is the sample space and outcome of the experiment?
As far as I pondered, S = 365^25 and outcome 365C25
|
How can one simulate a Gaussian process with nonzero covariance?
I've never simulated a process. I have searched for some basic examples, but I cannot make sense of all of it. Can someone give an an algorithm (continuous and discrete) followed with a minor explanation of such a simulation? How can the Fourier transform... |
If $m(t)$ is the moment generating function of a random variable, then so is $\frac12+\frac13 m(t)+\frac16 m(t)^2$. Explain why this is true.
This is for a 200 level course the proof cant be anything with later levels of stats. Any help would be greatly appreciated.
I have shown that since $m(t)$ is a mgf $m(0)=1... |
What are the simplest methods to check for the lead and lag relationship between two variables?
I mean.. how to see, between two variables, which leads the other (and which follows) ?
|
If $\mathbf{Cov}=0$ let $u=x \cdot cos(\theta)+y \cdot sin(\theta)$
and $v =y \cdot cos(\theta)-x \cdot sin(\theta)$.
What will be $\mathbf{Cov}(u,v)$? Will it be $0$?
|
I am new here, so I hope this question is on topic and comprehensive. I understand a little bit about statistics, but my knowledge of what methods to use in real case scenarios is a rather limited.
I am wanting to statistically analyse whether a physical keyboard is faster and more accurate to type on than a touchscree... |
Let us say that I have a simple data set with 3 columns [A, B, C] and an Output column
where:
A = random number between (0, 1)
B = one of the following vector c('cat', 'dog')
C = either 0 or 1
Output (Y) = either 0 or 1
The conditions for the output column are given below:
if A > 0.5 and C = 1 then Y = 1
else if B =... |
I have a time series of different physical measurements. One of these, lets call it X, is determined by the others, $Y_1$...$Y_n$, through various physical processes (which are complex and not fully known). There is no influence of X on Y. The Y parameters are all caused by the same source, so they are correlated to va... |
I am using cox proportional hazard models in R to test the effects of an environmental factor on survival. The data is such that I have two populations (P1 and P2). I want to assess the effect of the factor on P1 and P2 individually and compare the effect on the two populations.
The model output (see below) gives me s... |
I am interested in running a prediction model to determine which of 7 continuous IVs best contribute to my dichotomous DV. Each of these are univariately significantly associate with my outcome variable.
My problem is that my sample size is small and unbalanced: for the (0) outcome there are 15 observations and for the... |
[A similar question was asked here with no answers]
I have fit a logistic regression model with L1 regularization (Lasso logistic regression) and I would like to test the fitted coefficients for significance and get their p-values. I know Wald's tests (for instance) are an option to test the significance of individual ... |
I want to compare the proportions of 2 groups statistically. My data look like this (the actual dataset contains 700,000 rows):
GROUP A GROUP B GROUP C
0.7 0.2 0.1
0.3 0.4 0.3
0.2 0.23 0.57
… … …
So every row sums to 1. Moreover, the data are paired in the sense that every... |
Suppose that we have an objective function $f$ which have as parameters $x_1, x_2$.
$f$ is an objective function to be maximized for a given problem.Lets say:
$$f(x_1,x_2)=x_1+x_2+E(x_1,x_2)$$
where $E$ is a neural network model. Thus $E$ is not expressed as an explicit mathematical relation.
Let's also assume that t... |
I have the following picture:
I want to use R language for estimating the potential wave. I am looking for answers for the following questions:
Is this the wave ?
The goodness of fit my wave describes the data? (Like $R^2$)
Does the wave rise, fall or stay constant ?
What are the local and absolute extreme points ... |
I'm analysing the distribution of number of posts per user in an online forum (Reddit). I'm trying to fit my distributions to a Power Law and Log-normal distributions to see whether they might follow one or the other.
I use poweRlaw R package to do this. As you can see in the ccdf plots, the Log-normal does a better jo... |
I am going to run a test with N subjects. There are M=50 stimuli to be evaluated by the subjects but, for time and concentration reasons, a subject cannot evaluate all the stimuli. Therefore, I am going to provide only P < M stimuli (randomly chosen) to each subject.
How can I compute the expected number of times a gi... |
From a very general point of view, when you have a dataset $X$ and want to predict a label $y$, what is the purpose of beginning with a PCA (principal component analysis) first, and then doing the prediction itself (with logistic regression, or random forest or whatever) from both intuitive and theoretical reason? In w... |
I have a time series like this:
> result$`dataset1$Summe`
[1] 390476 391036 388248 486705 447873 374101 439457 360309 498708 491410 485708 513624 444816 432561 534655 443982 409912 476671 375907 354826 476019 450040 439550 543659
[25] 435893 447756 541163 414145 425397 492887 375012 448206 400168 484030 593125 462313 ... |
I have a binary dataset which is 99% in one class and 1% in the other class. I MUST create a logistic regression. I have read literature that says both using this dataset as is, or over/undersampling will do a better job.
Given this conflicting information, does anyone have any experience in this area? Would I be bette... |
I have the following problem:
I need to find out the efficiency of a system.
what I have done:
I modelled a set of random scenarios of this system.
I managed to make out trends in the data and fit regressions through them
So at the moment I have, from known model results:
$Efficiency = temperature * a + pressure *... |
I am analyzing data from a study by regressing the variable for "health service utilization", which is coded as 1/0 for use/non-use. The data is for 1440 cases drawn equally from four different sites, and hence I have created four dummy variables, one for each site with 1/0 coding. When I enter these dummy variables as... |
I was wondering what would be the preferred model to use deep learning to learn an output distribution instead of a point estimate.
Specifically, there might be the case that certain types of datapoint have associated output quantities (labels or regressed vectors) that are more uncertain (read: noisy) than other types... |
I understand that the extreme value distribution is concerned about the density of the tail which describes the losses if I am not wrong.
In such a case which part of the density(expressed as percentiles) of the distribution best characterise the tail distribution.
|
I was provided with a heavily imbalanced medical dataset (90-10% proportion among the negative/positive classes) to perform classification.
In order to mitigate the imbalance, I have resorted to oversampling the minority class through SMOTE in order to obtain a balanced dataset.
Since I needed cross-validated results,... |
I'm starting to create a model for modelling the occurrence of skin cancer in patients and the patients have many available variables that may correlate to getting skin cancer (that's what I'm studying).
First I'm building a very simple model just to test some of the variables:
fit1 <- glm(cancer ~ trt, family = binomi... |
I'm struggling conceptually with something:
If I had two simulation outputs that had dates and counts of outcomes of those dates, could I then create a probability distribution of time distances between these two outputs?
I am aware of concepts like divergence but not sure how I could apply them in practice to distri... |
If I understood correctly, the condition number should be a product of Frobenious norms of a matrix and its inverse.
In R if I do the following:
m = matrix(0, nrow=3, ncol=3)
m[col(m) == row(m)] = c(5,3,1)
minv = solve(m)
norm(m, type='F') * norm(minv, type='F')
kappa(m, exact=TRUE, norm='2' )
I get different number... |
Explain what is meant by a deterministic and stochastic trend in relation to the following time series process?
$y_t = c + y_{t-1} + \varepsilon_t$ where $\varepsilon_t\sim iid(0, \sigma^2)$
this should be a random walk with drift, how should it relate to deterministic and stochastic trend?
|
I have two studies with two experimental conditions each. The paradigms and measures used were the same, the studies only differed in a feature of the experimental setting (you could probably see "study" as a between-subjects factor, but I want to refrain from analyzing the two different data sets as if they came from ... |
I am trying to run an analysis and I its unclear to me if I have to include random factors.
I am working with microbiome data and have OTU tables (e.g. list of species per sample) for 5 different groups/samples. I also have measurements for the home range overlap between these 5 groups. I am interested in the question... |
In a neural network class I'm taking the error measure is defined as:
If the purpose of squaring the difference of the predicted and target values is to always have a positive value, then why not just use the absolute value of the difference instead?
Secondly, why is the summation halved?
|
I'm trying to implement
http://www.dabi.temple.edu/~zoran/papers/KostaAAAI13.pdf
but am stack at understanding equations 10) and 11).
They claim that the sum of the Gauss kernel multiplied with the mean is equivalent to convolving the mean with a Gauss kernel.
So far so good, next they say this could be approximated by... |
I'm tweaking a logistic regression model in R. The model's been optimized and tested pretty extensively so far.
I need to remove one variable for non-statistical reasons (varH below) but doing so causes another of my p values to jump (for varI). Because I had been using a 0.05 cutoff, I then go to remove varI - which c... |
Is it normal to get values for response that are $> 1$ even though in logistic regression the response has meaning only in the range $[0,1]$?
Does one then have to truncate all $> 1$ values to mean just $1.0$?
The reason for asking is that
I got something that looked like it might have response $> 1$ using a skin vari... |
Can you offer advice on a clustering strategy?
I have 4 continuous variables and I would like to perform cluster analysis.
The correlation matrix of the varaibles is
Var1 Var2 Var3 Var4
Var1 1.0000000 0.32 -0.46 0.24
Var2 0.4 1.0 -0.29 ... |
I have a problem in my neural network relating to the bias vector.
I'm using this source as a reference.
My understanding of calculating the bias is that the partial derivative cost function with respect to the bias is equal to delta(l+1) (where l is the layer in question) from this equation;
However the delta(l+1) ma... |
I am trying to understand how does building a regression model with caret's train () function differs from randomForest().
For my excercise, I am using the iris dataset. As shown in the code below, I have tried to replicate in caret the arguments that I can control in randomForest. The task has proven difficult because... |
For a meta-analysis, means and s.d. for the experimental and control groups were required to calculate the mean difference (MD or yi) and variance (vi) of each study with the escalc function of metafor.
In some studies, s.d. needed to be back-calculated from reported p-value and n in experimental (ne) and control (nc) ... |
I am currently researching in the facerecognition field.
And I can not understand how the facenet algorithm handels a new image
They use an euclidean space for image representation. Which means that the elements in this space represent the images (faces). To create this space they use triplet's of images (1 Anchor, 1 I... |
I use R for my statistical analysis.
I want to analyse a kinetics experiment that involves measurement over 3 time points with control, genetic background 1, 2 and 3.
Can anyone suggest a test and how to arrange the data for that particular test?
I would also need to do individual comparisons between time, group and t... |
I am studying a population of individuals over many generations. Each individual can take on a single trait from a range of several traits. In each generation I calculate the the share of the most common trait in the population. The result looks something like this:
Now I would like to say something along the lines o... |
I'm trying to implement a paper that used SVM and an improve of it with Bayesian decision theory. How do I do the mapping feature $\phi(x)$ that appears in the decision function?
The paper used an RBF kernel, I have the kernel from the Mercer, with the inner product of the vector x.
But I do not understand how to do... |
I am recently studying Markov Chain. However, I encountered one question regarding the difference between Ergodic Markov chain and time reversible Markov chain. My question is:
What is the difference between time reversible Markov chain and Ergodic Markov chain?
|
I have collected 50 data points from 9 individuals for 4 variables, say, a,b,c,d. For each individual, I correlated ab and cd using a Pearson correlation.
Aim: I would like to test whether across all 9 individuals, correlation(ab) is significantly different to correlation(cd).
Thus, I took an average of all the correl... |
Suppose we have a model which relates state level consumption of alcohol to state level hospital expenditures:
$$
\text{Hospital expenditure}_{i,t} = \beta_1 \text{alcohol consumption}_{i,t} + \dotso + a_i + u_{i,t}
$$
Where $i$ is an index for the state, and $t$ are the time periods (years) $t \in (1, 2, \dotso,T)$, a... |
I have several datasets with high level of skewness (many are scattered close to zero).
Applying a log transformation makes most of the data sets normally distributed.
But now how do I calculate the variance of the log-transformed datasets?
It would seem I'd have to transform back because calculating it directly on ... |
Suppose I have a Bernoulli process: $2n$ Bernoulli observations whose locations are distributed over an interval, say $(0,1]$. Conditional on the locations, $x_k\stackrel{iid}{\sim}Bern(\theta)$, $k=1,...,2n$. $n$ is known, but $\theta$ is not. The likelihood is then
$$
\mathcal{L}(\theta|x_k's)= \prod_{x_k=\{0,1\},k=1... |
I need help figuring out the standard deviation if 6% is the "mean" than how many Standard deviation away is 9%. "is it 0.5 std dev away or more?"
A goal for female population is set at 6% (goal set by outside vendor based on market availability) and the company has 9% female population (599 female out of 6550) so how... |
It will be great if you provide an example too.
|
In psychology studies I learned that we should use the Bonferroni method to adjust the significance level when testing several hypothesis on a single dataset.
Currently I am working with machine learning methods such as Support Vector Machines or Random Forest for classification. Here I have a single dataset which is u... |
I am reading these notes about Sequentially Monte Carlo for state space model.
On page 14 it says that "The SMC algorithm discussed earlier is very inefficient. This is particularly true for vague prior $ f(x_n|x_{n-1}) $ or picky likelihood $ g(y_n|x_n) $. [If the importance distribution is $ f(x_n|x_{n-1})$ ]".
I w... |
Suppose we fit a linear model $$y_{i}=\beta_{0}+\beta_{1}x_{i}+e_{i}$$
where $e_{i}\sim N(0,\sigma^{2})$. Suppose we also fit a random intercepts
model $$y_{ij}=\alpha_{0}+\alpha_{1}x_{ij}+u_{j}+e_{ij}$$ where $e_{ij}\sim N(0,\sigma_{e}^{2})$
and $u_{j}\sim N(0,\sigma_{u}^{2})$.
Is the OLS estimator $\hat{\beta}_{1}$ ... |
I conducted a repeated measures MANOVA with a two-level between-subejcts factor and nine DVs, using SPSS 23. The interaction effect I was interested in was significant. Looking at what SPSS labels to be a partial eta square and saw that it was .423 (the same as the Pillai's trace statistic, .423), while wilk's lambda a... |
This is weird dim(coef(fit1)) = [1] 1502 100. 1502 is the number of variables. What is 100? I believe it is supposed to be 1. I expect the coefficient result 1502 x 1.
library(glmnet)
fit1 = glmnet(x_train, y_train)
dim(coef(fit1))
|
I have two samples. From looking at their densities, one appears symmetrical and the other from some right-tailed distribution. I would like to test that the two do not have the same skewness (ignoring issues of selective inference here).
My plan is to take a bootstrap replicates of the two samples, calculate the diffe... |
I am thinking about this for some time now and can't figure out what I am doing wrong. So I want to compare the performance of doctors (measured in the number of detected vessels) among different automated visual aids. Their task is to detect vessels in an x-ray scan. They are assisted by some software to color the ves... |
Suppose a supper-population model without auxiliary covariates,
$y_i = \theta + \epsilon_i$, where $\epsilon_i \sim N(0,1)$. Then the score function $S_i(y_i, \theta) = y_i-\theta$.
In the case of informative/nonignorable non-response, the probability of non-response suppose $\pi_i$ needs to be dependent on $y_i$ but I... |
I am interested in incorporating time-invariant variables to a fixed-effects panel data model. As we know, the coefficient corresponding to the time-invariant variable will be dropped, because of the fixed-effects specification. Regarding this, I am aware that we can overcome this problem by using the interaction of ... |
Suppose we want to estimate the average speed of cars traveling on a highway, and we want to be able to assert with probability 0.99 that the error of our estimate will be at most 3 miles per hour. How large a sample will we need if it can be assumed that $\sigma =$ 7,1 miles per hour$?
|
I have nine variables, age, bmi, duration of disease, fasting blood glucose, diastolic blood pressure, systolic blood pressure, cholesterol, triglyceride, and HbA1c. Using these variables I want to predict the prevalence of an event (outcome: 1=yes, 0=no) related to this specific disease. I applied logistic regression ... |
I have two nested mixed models: the difference in these models is the presence of one predictor variable (type). I used lmerTest to obtain p-values for the model, and none except the intercept were significant. Can I still compare these models using anova to say the predictor variable type is (or is not) having an effe... |
In a school I work a group of teachers made the claim that by using a computerized tool for helping students to learn math will make them pass the course easily. I hypothesize that tool will make the students dependent and that will increase the number of failed students at the end of the course. We have two classrooms... |
I understand that correlation and distance are separate ideas, but I would really like to use something like Spearman's rank correlation in a calculation in calculating the distance for purposes of clustering.
Is this done regularly? can someone point me in the right direction?
For the record, I am currently using the ... |
I am attempting an unbalanced 2x3x4 factorial ANCOVA for my toxicology research (contaminant concentrations - y). I have a continuous response variable (blood Hg concentrations - ppm), one continuous covariate (BCI - body condition index), and three categorical independent variables (Sex [male/female], State [OK, NM, T... |
I am really confused by the usage of solver in computational optimization. I have looked around for a month on and off in order to see if I can get a good sense of what this term means yet I still do not have any good understanding of it.
It seems that, if I would like to solve an optimization problem in machine learni... |
$X_1,\dots,X_n$ are a random sample of X. I want to estimate $\theta$ and check bias for the following density function:
$f(x|\theta) = \frac{2x}{\theta^2}, 0 \leq x \leq \theta$ and $\theta > 0$
At first, I did it with the Moments method:
$\hat{\alpha} = \frac{1}{n} \sum_{i=1}^{n} X_i$
$E[X] = \int_{0}^{\theta} \frac{... |
I'v asked this question on the Mathematica exchange here but looking for more formal/rigorous answer.
Suppose I have two classes {class1, class2} and have their associated distributions, pdf1(x) and pdf2(x).
Then, given an x value, what is the appropriate (statistically optimal) way to classify x ?
I feel like there sh... |
CARTs naturally consider interactions between covariates, see:
Do CART trees capture interactions among predictors?
I would like to know whether it is always possible to translate the variable interactions when converting a classification and regression tree into a generalised linear model.
For example, the interactio... |
Let's suppose, this is the histogram of flu patients data.
As people gain flu more on autumn to winter, and more unlikely to gain flu
on summer.
Therefore, the amount of patients has different gap between summer and winter.
As the picture shows, this histogram has two big peak.
Find out that it's because of the... |
I have time series data that looks something like this:
Series 1 Series 2
╔══════╦════════╦════════╗ ╔══════╦════════╦════════╦════════╗
║ Time ║ Value1 ║ Value2 ║ ║ Time ║ Value1 ║ Value2 ║ Value3 ║
╠══════╬════════╬════════╣ ╠══════╬════════╬════════╬════════╣... |
I've been working my way through Kruschke's Doing Bayesian Data Analysis, and have been able to successfully run a Bayesian multivariable regression using R code provided with the book. Kruschke's code is set up to produce posterior distributions around the regression Betas.
However, I would like to view a distribution... |
I have a question: Regression results are reported from a data set satisfying the classical regression model(with homoskedastic errors) and $N=506$ observations. The authors report that the null hypothesis of "all five slope coefficients equal zero" is not rejected at an approximate 5% level. Assuming the authors used ... |
Very generally, we have a multiple regression model where the disturbances have distributions that are both asymmetric and generally don't have a conditional mean of 0.
$y=XB + \gamma\,,$
where
$E[\gamma|X] = \theta$ with, for example, $\theta > 0$
How do we get unbiased estimates for such a model? I know that we ... |
Is it true that in order to check for possible nonlinearities in a simple linear regression model like $E[Y_i]=\beta_1+\beta_2X_i$, with $X_i$ scalar and nonrandom.
We regress the LS residuals $\hat U_i=Y_i-\hat\beta_1-\hat\beta_2X_i$ (all of them are estimators) on the squared values $X_i^2$ of the regressors. If the... |
I want to determine the sample size (first of all) needed to determine a mean within a certain margin of error. The problem I am facing is that I have
N1 which is the sample of several measurements within a subject.
and
N2 which are measurements of several subjects.
What is the relationship between the sample sizes n... |
our data has 5 treatment groups at 5 different time points. We want to use mixed model to see the different effect between the 5 groups, also at different time points.
The problem is, our data is clusters, i.e. each patient has 4 or more treatment sites, so the data can be considered clustered, with each patient as a ... |
How can we use this as a basis to decide the best regression fit model? Not many question posts included the concept of Adjusted R-squared for understanding.
|
I've made some progress towards coding Neural Turing Machines (NTMs), one of the most interesting new twists on neural nets. As usual, however, I'm getting tripped up on something very basic instead of its more novel aspects, like the use of fuzzy read-write heads to retrieve information from location and content-based... |
I am replicating a paper's result and here is what I want to estimate:
dx = $A(x,z;\theta)dt + \sqrt D(x,z;\theta)dW$,
where x is the input value from data, z is a constant from data corresponding to each x, $\theta$ is parameters to be estimated, and
$A(x,z;\theta) = 2\theta_{1}*cosh(theta_{2}+x\theta_{3}+\theta_{4}z)... |
I am currently getting confused by the idea of degrees of freedom when obtaining confidence intervals after reading section 15 titled "Probability Distribution of Parameters in the Normal Case" in numerical recipes.
The problem I have is simple: I have 20 data points, each with some known error, and I have some theoret... |
I'm supposed to perform a hypothesis test with:
sample size = $27$
sample mean = $10.7$
sample standard deviation = $3.6$
Hypothesized mean, $\mu_0=11$
Because the sample size is small and population standard deviation is unknown, I perform a t-test to see if I can reject my null hypothesis.
I find that the t-score is ... |
Suppose that $F$ is the distribution function of a real-valued random variable $X$.
$F$ is increasing: if $x≤y$ then $F(x)≤F(y)$.
$F(x+)=F(x)$ for $x∈R$. Thus, $F$ is continuous from the right.
$F(x−)=P(X<x)$ for $x∈R$. Thus, $F$ has limits from the left.
$F(−∞)=0$.
$F(∞)=1$.
Let,
$Experiment$ = rolling a fair die... |
According to a journal I've read, in determining the K in fourier series term the lowest AIC must be picked, but what AIC are they talking about? How would we determine K? BTW, we are using r.
|
Say I'm interested in estimating the $\sigma^2$ of a normal population, which has a Cramer-Rao Lower Bound of $\frac{2\sigma^4}{n}$ if my calculations are correct. I found that the uniformly minimum variance unbiased estimator of $\sigma^2$ should be $\frac{1}{n} \sum_{i = 1}^n (x_i - \mu)^2$, using the equality condit... |
I am a beginner to Network/Graph Analysis. I have data in the following format:
Customer | CustomerSpend
Anna $10
Bob $30
Charlie $50
...
...
Customer1 | Customer2 | RelationshipStrength | Location
Anna Bob 5 NY
Bob ... |
Is using the elbow rule, with mean squared distance, for selecting the good number of clusters for Kmeans algorithm, advised in academia?
|
I have the data with dependent variable which is continuous proportional data, like 2% leaf area was eaten by insect or 3% protein in milk. The data contains some 0, and most of data ranges from 0 to 0.5, without 1.
I know count proportion data can be used in generalized linear model with binomial family. But I don’t h... |
I have the following glmer mixed model:
model <- glmer(eggs ~ temp*diet + (1|site), family="poisson")
where 'eggs' is count data on the number of eggs, 'temp' is a three-level factor, 'diet' is a two-level factor, and 'site' is a random factor to account for collecting various data from multiple different sites.
I use... |
I have this dataset with the following variables:
GROUP - Categorical (1 2)
DEMOC1 - Categorical (1 2 3 4)
DEMOC2 - Categorical (1 2 3)
DEMOC3 - Categorical (1 2 3 4 5 6 7)
DEMON1 - Numeric, continuous (available data from 100 to 160)
DEMON2 - Numeric, continuous (available data from 60 to 120)
DEMON3 - Numeric, contin... |
I used k folds cross validation to calculate the predective error of my linear mixed-effects model. I computed it manually because the caret package is not available from lmer model of lme4 package.
My question is: how can summarize k folds cross validation results using someindex and some plots to understand if my mod... |
I hope someone working with the www.image-net.org dataset reads this question. I am confused on what the ground truth is for the image classification task and how exactly the predictions of an algorithm are evaluated
Is there ONE ground truth label or several for a single image? Reading the description of Task 2 in ht... |
I am working with a time series of 1 year, with power values every 15 minutes. There's an example in the link below concerning only 4 hours.
I want to know if I can group the power values per hour. I think I'd probably do that using a statistical test which could evaluate the similarities.
https://i.stack.imgur.com/QeD... |
A collocation is an expression consisting of two (or more) words that correspond to some conventional way of saying things, for example strong - tea or new - car.
We really want to know whether two words occur together more often than chance. Assessing this is the classical problem of statistic, for example we can use ... |
I'm trying to evaluate how good my model predictions w.r.t. the true values (paired). I came across two method coefficient of determination (https://en.wikipedia.org/wiki/Coefficient_of_determination) and explained variance (http://scikit-learn.org/stable/modules/model_evaluation.html#explained-variance-score) to do th... |
Say I have some data which are sets of variables: (y, x_1, x_2, x_3, x_4), and y = ax_1 + bx_3 + error, and x_2 = cx_1 + error, x_4 = dx_1 + e*x_3 + error.
Then I do a linear regression and find the best values for y = w1*x_1 + w2*x_2 + w3*x_3 + w4*x_4 and the correlations between them.
Can I recover a,b,c,d,e from t... |
I have the foloowing information:
A (stock A)
B (stock B)
M (market index)
cov(M,M) = 5
cov(A,M) = 6
cov(B,M) = 2
how do i make a "(2 X 2)-CoVariance matrix" of A and B?
- i need to find:
1) cov(A,B)
2) cov(A,A) = variance,A
3) cov(B,B) = variance,B
|
Suppose that a time series $s_t$ it is known to be obtained via exponential smoothing of an underlying signal $x_t$, that is
$$
s_{0}= x_0
$$
and
$$
s_{t} = (1-\alpha)\,x_t+\alpha\,s_{t-1}.
$$
I am wondering whether there exist procedures/filters to re-construct or approximate the sequence of the $x_t$ having observed... |
Assume the following most simple setup:
I want to perform a binary classification based on a single continuous variable $X$.
The model is then a threshold $x$ so that the class of a data point $d$ is $1$ if $X_d >= x$, and $0$ otherwise.
I'm doing an exhaustive search for the optimal threshold $x$ by simply using each ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.