instruction stringlengths 9 38.7k |
|---|
say I have N WIKI pages and I want to find the words within these pages that are characteristic of each page as compared to the others. As suggested here previously, the standard approach would be to use tf-idf to find these words.
say I did just that, now I want to statistically test that these words are indeed enric... |
I tried auto.arima on my time series and the results converge to mean. Why does this happen? What can I do to correct the error in modelling?
Here is my time series
y <- c(1, 1, 2, 4, 1, 4, 3, 3, 3, 2, 0, 0, 2, 1, 2, 1, 5, 4, 3, 8, 10, 3, 5, 3, 3, 4, 0, 1, 4, 5, 4, 7, 7, 2, 8, 3, 3, 6, 8, 3, 2, 2, 1, 4, 6, 6, 3, 6, 9, ... |
Andrew Ng in his deep learning course on Coursera.org states that there is a boundary on sample size where machine learning algorithms stop improving and such boundary is nonexistent for the deep learning algorithms, as they always improve when feeded with more data. Could you point any reference that goes into more de... |
How to model time-dependent variables explicitly? (or alternatively, a better approach to modelling)
I measure events over time and there are two sources: a) constant rate baseline and b) a time-dependent burst as seen below
I want to quantify the difference between these two sources of events and fit the likely param... |
Suppose I have some input data X with shape [n,m].
I also have some target data y with shape [s,p].
I want to train a model with some train data and then compare the results on the test data, as usual. I came across the idea of normalizing the data. However, I don't understand (although the documentation is pretty good... |
I am trying to classify every pixel on a large image (satellite image ~ 6000x4000 pixels) as belonging to one of the 4 classes:"Cloud", "Thin Cloud", "Clear", "Shadow." To that extent, I have taken inspiration from the paper "Brain Tumor Segmentation with Deep Neural Networks" where I design a neural network that looks... |
$X \sim N(0,2) \quad Y \sim N(0,1) \quad Cov(X,Y) = 0.5 \quad Z = X + XY + Y$
find:
1) $E(Y|X)$ and $Var(Y|X)$
2) $E(Z|X)$ and $Var(Z|X)$
3) $E(Z)$ and $Var(Z)$
4) $Cov(Z,Y|X)$
5) joint distribution of $Z$ and $Y$ conditional on $X$
I'm stuck from question 3) onwards since I'm not able to compute $Var(Z)$.
Is there a t... |
I want to create a convolutional neural network to identify a particular object in an image, say a guitar. I know there are a lot of posts and answers about this but I'm very new to this field and am not being able to find a simple explanation. If I have the coordinates for any guitar in an image how do I convert that ... |
BACKGROUND:
Consider the problem in cybersecruity that consists of classifying domain names as either malicious or legitimate based on various features such as the URL string, the name of the registrant, the HTML content, the IP address, etc.
Without the use of machine learning, this would typically be done by a simple... |
I have a large pool of electronic devices. The devices are of the same kind and each was measured before and after an irradiation.
Measurement means the following: Increase the voltage step by step and observe the current for that actual voltage. The data is not balanced (neither before nor after the radiation. As well... |
In Freedman's Statistics (chapter 2), the author uses Berkeley's admission statistics (that 44% men and 35% women were admitted to graduate programs in general) to illustrate Simpson's paradox: the difference in overall admission rate per gender could be explained by different application rates to different majors betw... |
I perform an experiment where I sample $M(k)$ which is in theory related to $|f(x)|^2$ via $M(k)=\int e^{ikx}|f(x)|^2\,dx$. I perform the discrete FT on my data in order to obtain $|f(x)|^2$. Without experimental noise I expect a real positive result, but due to experimental noise I find small but non-zero imaginary pa... |
I don't quite get how random forests feature selection works. I know this idea of looking at how much the tree nodes that use the feature reduce impurity (say Gini). I need a more detailed explanation for the case of one tree and then for random forests. Please, would you mind explaining it to me?
|
I have timeseries of concentrations in tropospheric air (NO, O3, etc.) and related meteorological parameters (Temperature, Wind Speed, etc.).
Some of those time series correlate well (eg. CO2 vs NO) and none of them have a normal distribution or even symmetric distribution.
Where correlation coefficients are:
measur... |
I am given the following (labeled as the "pooled sum of squares and products about the mean"
$$
\begin{matrix}
x_1 & x_1 & x_2 & x_3 & x_4\\
x_1 & 19.1434 & 9.0356 &9.7634 & 2.2394 \\
x_2 & & 11.8638 & 4.6232 & 2.4746 \\
x_3 & & & 12.2978 & 3.8794\\
x_4 & & & & 2.4604
\end{matri... |
Bayesian neural nets (BNN) are very popular topic. With development of variational approximation it became possible to train such models much faster then with Monte Carlo sampling. BNNs allow such interesting features as natural regularisation and even uncertainty estimation. So, the question is: why haven't we still c... |
I have an medical test which has been repeatedly administered to patients over time that I would like to analyze.
The tests results are ordinal (Neg, Scanty, 1, 2, and 3).
The testing schedule was irregular - daily for the first two weeks, weekly for the next two weeks and then monthly for a total of six months.
I ha... |
I am constructing classification trees for the first time, so I'm quite new to this use of R.
I have observations of behaviours and incoming data that has to be classified as one of these behaviours. Using the rpart package, I was able to construct a tree:
Tree <- rpart(formula = behaviour ~., data=Tree.Data, method="c... |
I'd like to expand a question about Granger's causality test by focusing on some particular cases one may happen to encounter.
I have two time series x and y where the Granger causality test gives:
> grangertest(x,y,1)
Granger causality test
Model 1: y ~ Lags(y, 1:1) + Lags(x, 1:1)
Model 2: y ~ Lags(y, 1:1)
Res.Df ... |
Update: I think I have more or less answered my own question. I needed to model more closely on the theorem for expectations and specify the discrete case. Independence is a separate extension.
The Substitution Theorem for Conditional Probabilities, following the model given by the Substitution Theorem for Conditional ... |
This is a simple question for which I could not find an answer. CFA and EFA are both methods of factor analysis. It is said that EFA extracts a factor structure from the data whereas CFA is used to test if a factor structure fits the data (or in other words to test a hypothesis).
Given this, why would I want to do CFA ... |
I have an experiment where I measure the effect of a manipulation on two different groups of participants, and the variable that I manipulate also has two levels. Thus, I can essentially use a 2x2 ANOVA to analyze the results. But it is also possible for me to measure the effect of the different levels of the variable ... |
Suppose $X_n=\phi X_{n-1}+e_n$, where $X_0=\mu_o=0$, $\phi$ is the model coefficient, and $e_n$ are white noise with $\sigma_e=1$. Assume that $\phi=0.5$ and sample correlation between $(X_{n-1},X_n)$ is 0.5. Now, define $Y_j=\frac{1}{p}\sum_{k=1}^pX_{(j-1)p+i}$.
Assuming $p=0.5$, how can one show that the correlation... |
Imagine I have X_train, y_train and X_test, y_test.
I was studying neural networks and so I came up with the following strategy, however I don't know whether it is considered overfitting or not.
Create Neural Network number 1, call it NN1.
a.) Train NN1 on X_train and y_train.
b.) Test NN1 on X_test and y_test. Call t... |
It seems to be like the most popular loss function for regression, for everything from OLS (it's in the name!) to sophisticated regularized regressions.
Why is it so popular and what are the drawbacks?
|
I'm currently running an EFA in r, using the cor = "poly" setting with principal axis factoring, and am trying to determine the eigenvalues of the analysis.
I am getting two different sets of values: 1) values = Eigen values of the common factor solution; 2) e.values = Eigen values of the original matrix.
I'm fairly ... |
If I was interested in using travel to predict wins, or even individual performance, what would be the most appropriate way to do so? Let's say you have 9 players on one baseball team and you have their stats (I'm thinking common stats you would see in fantasy baseball: rbi, hits, runs, BA). I have this information for... |
Using central limit theorem , evaluate
$\lim_{n\to \infty}\sum_{j=0}^{n}{j+n-1 \choose j}(\frac{1}{2^{n+j}})$,
I multiplied and divided the series by $1/2$ , And made it look like a binomial distribution ,but they are not i.i.d., which is why I cannot apply CLT.
|
I have some data which had to be logged and differenced once to induce stationary. I ran the Johansen test for cointegration and found that it is present in my data set.
Does this fact tell me that using a VECM is more appropriate than using a VAR, despite of data now no longer being I(1)?
|
I am trying to reduce the dimensionality of a data set of about 100'000 rows and 1'000 columns, in order to cluster the individual observations with k-means. I tried PCA with rescaling (i.e., subtracting the mean and dividing by the standard deviation), but I am not sure this approach makes much sense, because
The maj... |
I am confused about the output of a unit root test I performed.
After taking data with a seasonal effect in seasonal differences, the time-plot and the correlogram (shown below) both suggest non-stationarity.
But when performing the unit root test, the null hypothesis of non-stationarity is rejected.
So now I don... |
I'm currently working on a paper in the field of real estate. As it's been some time since my last quant finance class, I just wanted to cross check my understanding of the problem at hand.
The data contains a large number of real estate transactions, each with transaction date, price, and ca. 30 attributes of the hous... |
I have data on two events over a 25-year span of time. The data look like (example below):
Year Event_1 Event_2
1990 1000 800
1991 850 750
1992 1050 850
. . .
. . .
And so on and forth. I'd like to see whether Event_1 and Event_2 are correlated. The figures in the example above ... |
So I'm a totally newbie to the field of statistics. I'm working on a project where I have a quantitative dependent variable that I'm supposed to predict using a mixture between quantitive and qualitative independent variables. My aim so far is to reduce the number of independent variables (they are acuatually 11) and t... |
I am facing the situation that I have different data sources that in principle it makes sense to combine. The outcome (independent) variable is defined the same way, but the (likely) most important predictor was recorded in different ways. Sometimes as a numbee (0, 1, 2, ...), sometimes as 0 vs. >=1 and sometimes bucke... |
Please forgive my ignorance, however I would like to explain this problem and get some advice on how to approach it.
Let's say that I have the following training inputs, where word, x, and y are the data, and class is the classification that the data has been put into, with 0 being unclassified -
Training 1
word, x, y,... |
I'm looking to create a predictive model for time series data using historical data only (no other variables) and simple curve fits (linear, polynomial, exponential etc).
The issue is that I'm trying to use a single algorithm on thousands of heterogeneous data sets and each data set exhibits various "regimes" across ti... |
My question is, is there anybody that can explain and dumb down the differences of the two different distributions (Chi-squared and F). I have tried doing research on the internet but I can't seem to understand what is being conveyed.
Basically what is the difference in Chi-Squared and F and how are they used in indust... |
I'm trying to perform a Mann-Kendall Test of some data. I'm using the code in the following link (https://github.com/mps9506/Mann-Kendall-Trend/blob/master/mk_test.py) modified a little bit bellow for the result to be in an array and it only gives back a p-value (p) and a tau value (z).
def mk_test(x, alpha=0.05):
... |
maybe it is a bit trivial, but I would like to ask how can I do weekly demand forecasting when I have got daily demand? the thing is that every year has 12 months, but does not have exactly 52 weeks. Therefore, I do not know how to handle it.
|
I am trying to use a dynamic linear regression using dynlm command in R programming since I need to analyze my panel data but I do not want to use panel regression.
However, my model specification do not contain any lagged variables at all. Can I still use the dynamic linear model (dynlm) in this case? The outputs it g... |
I had a discussion today with someone saying that Gaussian Processes are linear models. I don't see in which sense this may be correct. To be clear, here the definition of a linear model is the usual one, i.e., a model which is linear in the parameters. Thus,
$y=\beta_0+\beta_1x+\beta_2\sin(x)+\epsilon$
and
$y=\beta_0... |
Let $U_i$, $i = 1 ,2\dots, $ be i.i.d. standard normal random variables. For every $n$, let $f_n:\Theta \times \mathbb R^{n} \to [0, 1]$, where $\Theta$ is some compact subset of $\mathbb R$ [may even be taken to be some closed ball]. Define $\mu_n(\theta) = \mathbb E f_n(\theta, U_1, \dots, U_n)$.
Q: Is it true in ... |
In batch normalization the variance calculation during the training phase is done by ($x_i$ are the individual elements in the training batch of size $m$)
$\sigma_B^2 = \frac 1m \sum_{i=1}^{m} (x_i - \mu_B)^2$
where $\mu_B = \frac 1m \sum_{i = 1}^{m}(x_i)$
and during the test time we calculate the population statisti... |
Consider an NHST, for example a one sample t-test for $H_0:\mu\leq0$. The test statistic is $T(x) = \frac{\bar{x} \sqrt{n}}{s(x)}$, which has $t(n-1)$ distribution. Now I make an observation $x^*$, for which I'd like to have a small p-value. The p-value using test statistic $T$ would be $P(x) = 1 - F(T(x))$, where $F$ ... |
A simultaneous confidence band denotes the probability
$$p \big(\hat{f}(x) - w(\hat{f}(x)) \le f(x) \le \hat{f}(x) + w(\hat{f}(x)) \ \ \forall x \big)=1-\alpha$$
where $f$ a function of $x$, $\hat{f}$ and estimator for the value of $f$ at $x$, and $w(\hat{f}(x))$ an estimated interval length at $x$, see also Wikipedi... |
In frequentist analysis, we define a 95% prediction interval as an interval that will contain the next observation 95% of the time under repeated sampling of the entire experiment and prediction. If we are dealing with a scalar observable, we may even be able to turn this into a type of "predictive distribution" (in th... |
According to the table of conjugate distributions on Wikipedia, the hypergeometric distribution has as conjugate prior a beta-binomial distribution, where the parameter of interest is "$M$, the number of target members." I interpret "target members" to mean, I am modeling as hypergeometric the number of blue balls in a... |
What is the best statistical test to determine the relationship between the absolute price of a time series compared to the spread, or relative change, in the same time series? For example, time series S1 (spot price of commodity) compared to time series S2 (forward price of same commodity - spot price of commodity)? ... |
Why is the degrees of freedom for Simple Linear Regression $n-2$?
Specifically looking at a hypothesis $t$-test to determine if there's a relationship between the one independent variable, $x$, and the dependent variable $y$.
I would assume it would be $n-k$ where $k = 1$ in the case where we're using the slope in the ... |
This seems to be the go-to recommendation when considering a prior for a model.
In my case, I am running mixed effects (with random subject and item effects) regressions (both linear and logistic), and am looking for a single weakly informative prior to put on all fixed effects and their interactions.
The prior that se... |
Say I have a white noise process $w_a$.
Why is the co variance matrix of the vector written as $E(w_a*w_a^T)$?
Isn't the expected value equal to $E(x) =\int xf(x) $?
So for example isn't the first component of the covariance matrix going to be $E(w_{a1}^2) =\int w_{a1}^2f(w_{a1}) $ so how is that equal to $\sigma_{a1... |
This is a homework question about probability that I do not understand, even after discussing it with my teacher. I understand the correct answer, but don't understand why my answer is wrong.
A company buys rejected devices from two manufacturers. 60% of the devices are made by manufacturer A, 40% are made by manufactu... |
I am currently using dynamic linear regression (dynlm) for my analysis. However, I do also find another model called dynamic linear model (dlm).
I find that dlm has an official mathematical expression by West and Harrison (1989) and everywhere.
However, I cannot find an official mathematical expression for dynlm else... |
I used K-means to cluster 15k data points composed of 5 quantitative features scaled between 0 and 1.
I would like to compare the distributions of the features within each cluster, and also compare them with the distributions of the entire dataset, if it makes sense.
What kind of quantitative approach can be used?
Wh... |
I am learning now about the Metropolis-Hastings algorithm. I want to understand better how we can use and apply this algorithm.
For example, consider a Poisson regression model.
So the probability mass function is given by $$p(y | x;\theta) = \frac{e^{-\lambda } \lambda^y}{y!}$$
where
$$\lambda := E[y|x] = e^{\theta x}... |
Suppose I have an ARIMA model with $n$ step ahead forecasts and forecast intervals. If I want to sample from those forecasts:
One way to look at is: take one observation from the prediction distribution in each step, then you have one path. Repeat this process.
But when you choose your first observation from the first... |
Assume that I want to estimate a copula model, where the copula has a single parameter, $\theta$. When this parameter takes a specific value, say $\theta_I$, this copula converges to the Independence or Product copula: in reality, the random variables involved are independent.
To take a concrete example, the Plackett f... |
The above symmetric property isn't referring to the double stochastic property
\begin{bmatrix}
0.2&0.8&0&0&0\\
0.2&0.2&0.6&0&0\\
0&0.4&0.2&0.4&0\\
0&0&0.6&0.2&0.2\\
0&0&0&0.8&0.2 \end{bmatrix}
The stationary distribution is given as (1/16,1/4,3/8,1/4,1/16).
Is it true that for an irreducible and aperiodic markov chain... |
Based on the following hypothetical gam:
fit <- gam(y~ s(x1), s(x2), te(x1,x2))
How would one go about estimating the effect size of s(x1), s(x2) and the interaction term te(x1,x2) on y?
I understand that effect size can be estimated using general linear models through calculation of partial standardized regression c... |
I'm trying to train a neural network on a time series that would predict the gamma distribution of time between 'events' in the next hour.
I would like to do an empirical fit on the time between 'events' in order to get an α and β (parameters of the gamma dist.) that will be used as labels. My thought is that I want t... |
I would like to clarify on the relationship between the optimal action-value function of an MDP and the optimal value function as I often get confused between them.
Is it possible to express one of the function using the other one?
|
I am working on this question but have several difficulties:
1) First I identified the model as a SARIMA(0,0,1) x (0,0,0)$_3$.
2) Second, I calculated the variance as such: $\text{Var}(Y_t) = \phi^2\text{Var}(Y_{t-3}) + (1+ \theta^2) \sigma^2$ and $\text{Var}(Y_{t-3}) = \text{Var}(Y_t)$ and so $\text{Var}(Y_t) = \frac... |
I'm taking a Mathematical Statistics course and trying to work through a homework problem that reads:
Let Y1, ..., Yn be a random sample from a Beta(1,$\theta$) population. Derive the MLE for $\theta$.
Getting started, I set up the likelihood function as:
$$
L(\theta) = \frac{\Gamma(1+\theta)}{\Gamma(1)\Gamma(\theta)}... |
My graduate student Dom is interested in finding evidence for either the “enemy release hypothesis” (ERH) or the “biotic resistance hypothesis” (BRH). If ERH is true, we would expect more parasites on the native species, whereas if BRH is true, we would expect more parasites on the exotic species. Dom measures a native... |
I'm currently trying to use the rank product statistic on very large datasets but I'm finding that a lot of the entries in my data end up receiving the same rank. To break these ties, I'm randomly assigning the entries the ranks they would have received if they were ranked ordinally. Spearman's rank correlation method ... |
Recently, I've tested many prediction models on real datasets (collected by myself). But most datasets that I collected perform best using an OLS MLR hypothesis compared to many other machine learning/data mining models, and after spending spending a lot of time on preprocessing or data transformation. I found that OLS... |
This question is in the context of ordinary least squares.
If $M$ is a matrix, and $y$ is a vector of random variables, then I have been told that $$VAR(My)=M VAR (y) M^T$$
I know that $Var(y)=E[(y-Ey)(y-Ey)^T]$, but I don't know how to get the above result.
How do we get the above result, and secondarily, what is a ... |
I am using the lme4 package with R and would like to allow the intercept to vary with my fixed effects to allow for a proper fit, so basically I assume my random effects would follow this:
(1 | g1/g2) with the alternative (1 | g1)+(1 | g1:g2)
In my case my full model would be:
lmer(signal ~ 1 + g2 + g3 + (1|g1) + (1|... |
When using ML algorithms that optimize through some variation of gradient descent, I was wondering whether the scale of the label importance (weight) makes any difference.
Let's say we have a very unbalanced dataset (multiclass problem), and we want to give different weights to different training samples, dependent on ... |
I calculated sample size from G*Power and got a result of 500. But my population size is just 330. What should I do?
For information, I used chi-square test for calculating sample size.
|
My model contains five parameters. I want to make Bayesian estimation, but the Bayes estimates can not be obtained in closed form. So, I used Metropolis-Hastings to generate MCMC samples from conditional posterior density of each parameter. The trace and Auto-correlation plots were used to evaluate the generated sample... |
If we have a linear regression equation $y=X\beta + u$, then we can find the OLS estimate of $\beta$ by minimizing wrt $\hat \beta$: $E(\hat u)=E(y-X\hat\beta )$
However, my textbook suddenly says, out of nowhere, that the OLS estimate of the variance of $u$ (each $u_i$ is iid). $\sigma ^2$ is $\hat \sigma ^2 = \frac {... |
Say that we collected some essays last year and we collect other essays this year.
The goal is to apply machine learning and NLP to analyze the overall difference/tendency.
How to do that?
First attempt
To run TF-IDF on both sets, do cluster analysis, quantify the presence of essays in individual clusters. The result w... |
I need advice regarding further steps. I have dataset about computer and their activity during 24 h for several month. I want to find best fit between peers so one computer can relay on other for some service. example data for two peers
If I create graph then it looks like
how to mesure how good they fit to each oth... |
I understand that correlation (I'm referring to Pearson product-moment correlation coefficient) and regression share some similarities from this post:
What's the difference between correlation and simple linear regression?
However, I'm wondering the limitations of multiple regression.
Scenario: I would like to explore ... |
I have learned some basics about using collaborative filtering to build a recommendation system and would like to try it out on a dataset which are a large number of customer purchases in around a few hundred products.
However I have some challenges
the user-item value is not on the same scale like 1-5 of a movie rati... |
I'm trying to determine an appropriate statistical test for a study I'm undertaking. Below, I've tried to present a simplified version of the problem, using the terms dose and response which hopefully will allow the answer will be generalisable to other people reading this question.
I have two groups: one affected by ... |
I was asked this question in an interview, not convinced about what the answer will be.
In what scenario (or under which conditions) will a decision tree (intuitively) perform better than a random forest?
What I understood is the interviewer wanted a theoretical scenario where DTs will outperform RFs. I mentioned sampl... |
I have a dataset with the following characteristics and I can’t seem to wrap my head around it. “Three st.dev.s include 99.7% of the data” is what I tell myself, but that seems to be inaccurately worded.
Observations: 2246
Mean: 39
St.dev.: 3
Min: 34
Max: 46
Mean - 3*sd: 30
Mean + 3*sd: 48
This tells me that 99.7% of ... |
I am not very strong on statistics and I am having problem in deciding how to treat my data. I collected production data showing speakers a video and asking them to tell to another participant what they just watched. And I did this for Turkish and Dutch speakers. Each participant (20 per language group) produced severa... |
I'm in the middle of reading a book Forecasting: Principles and Practice and simultaneously trying to code "by hand" all the things, for better understanding.
I've found something that I cannot explain:
Given a time-series generated by AR(2) process,
I try to model it as linear regression problem
Judging from what I'v... |
I'm not sure about the definition of optimal policy which is usually denoted by $\pi^*$. I'm not sure how we'd usually express optimal policy by, is it the best set of actions that gives the maximum reward?
|
I am doing my thesis, and I need your help in interpreting the result.
I calculated the median, IQR and range of percentages because the data are not normally distributed.
But now I need to compare my result with other results interpreted as (mean) and (CI). How can I do that?
|
I want to know how to understand whether my dataset, which I have plotted below using Excel, contains seasonality. Specifically:
How to detect seasonality on viewing the chart
How to detect seasonality from dataset (for coding purpose)
If seasonality identified, how to remove the seasonality and make the dataset stat... |
Spurious regression is generated when we regress time series data that are non-stationary. So is it possible to time lag the variable to further find a higher correlation?
|
This paper has a footnote that says
The sum of the auto-correlation coefficients from $-\infty$ to $\infty$ is an estimate of the mixing time.
What is the rationale for this? The author calls this the "effective correlation length" in another paper, but I haven't gotten much success in finding an explanation for this... |
I have a high-dimensional dataset. I want to visualize the distance from each point $S_i \in S$ to a reference point $p$, while preserving the relative distances of points in $S$ to one another as much as possible.
I envisioned the following transformation to create a 2-dimensional visualization. Let $S_i'$ and $p'$ b... |
I don't have a formal definition of scale equivariance, but here's what Introduction to Statistical Learning says about this on p. 217:
The standard least squares coefficients... are scale equivariant: multiplying $X_j$ by a constant $c$ simply leads to a scaling of the least squares coefficient estimates by a factor ... |
I am conducting a classification problem. Usually AUC is used to check the effectiveness of a model when performing logistic regression model. However, if I fit the same data set by using Random forest and logistic regression models, which measures should be used to check the accuracy of the two models? Are there any m... |
I have clustering algorithm and I cluster labelled data sets to see my clustering algorithm performs.
I was thinking to report performance of my clustering in sense of some score, like RandIndex score. Idea I had was to compute rand score for each clusters and take the average of it over cluters and report it.
Is it fa... |
Can anyone enlighten me with the equation structure for the following basic theoretical (although common) scenario:
Sales, $S$, are related to "Advertising", $A$, such that when $A$ is small $S$ grows exponentially, and when $A$ is large, $S$ grows more slowly until at some point any increase in $A$ produces zero incre... |
In linear regressions $Y=\boldsymbol{\beta} \boldsymbol{X} + \varepsilon$, at first we had features $\mathbf{X}_1$, and trained our model
$$
\widehat{Y} = \widehat{\boldsymbol{\beta}}_1 \boldsymbol{X}_1
$$
Later, we came up with some new features $\boldsymbol{X_2}$, and we didn't need to retrain the models to get para... |
I have a time series data with two exogenous variables. I am using auto.arima from the forecast package to determine best fit. I wanted to know if I am implementing the auto.arima function correctly since I believe I am getting good forecast results. The figure below shows the sample time series of having 200 data poin... |
Some context: I'm trying to train a model on some data. The input per data point is 12 time-signals, and there are 104 classes.
Using only the mean and variance (mean, var) of each of these signals, and feeding it to LogisticRegression from sklearn, my model predicted 80% correct on the training data itself.
I tried po... |
How can I express the question as a model:
Imagine there is a class and you want to track the performance of the pupils when the teacher in a specific subjects changes.
I guess this can be done with a lmer model, right?
I would do it as following:
lmer(Mark ~ test + (1 | Pupil),...)
but how do I consider the two diff... |
De Finneti's theorem applies on infinetely exchangeable sequences and allows building probabilistic models with latent variables that allow us to describe them. Is there a similar theorem for time-series data? Can we apply in a similar manner a latent-variable-based model on non-exchangable data with some theoretical g... |
Background
I have clinical study data from 500 subjects.
Measured variables (measured once in each subject), among others:
$P_s$: Systolic blood pressure
$P_d$: Diastolic blood pressure
$d_s$: Systolic diameter
$d_d$: Diastolic diameter
Hypothesis
Subjects with a higher systolic blood pressure ($P_s$) have an... |
When performing a hypothesis test of a difference of two proportions, does one change the integrity of the problem when changing the scale?
To clarify: I want to test the difference in proportions of maintenance errors per hour of maintenance for two sets of years, say A = [1990-2000] and B = [2000-2010]. When I did t... |
I know from a theory that if $X_1,X_2,...,X_n$ be iid from continuous Uniform(0,1), then k-th order statistic $X_{(k)}$ is Beta$(k,n-k+1)$.
Now, $X_1,X_2,...,X_n$ be iid from continuous Uniform$(a,b)$, where $a=\mu-\sqrt{3}\sigma$ and $b=\mu+\sqrt{3}\sigma$. I would like to know that what is the distribution of $X_{(k)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.