instruction
stringlengths
9
38.7k
I have a situation where the principle component of my data is almost equal to the mean of the data. Does this make PCA redundant? Does PCA not work in this setting?
I'm performing a linear mixed effects analysis to find out how locMap (categorical) and frequency (continuous) influence voltage (continuous): lmer.voltage <- lmer(voltage ~ locMap + frequency + (1 | heart), data = df) Fixed effects: Estimate Std. Error df t value Pr(>|t|) (Interce...
I am running a series of multiple linear regression models as well as logistic regression models. I have calculated the semipartial correlations (sr) as a measure of effect size for the linear regression models and the odds ratio (OR) as a measure of effect size for the logistic regression models. My first question is ...
I'm working on exercise 7.2 from Elements of Statistical Learning, and I'm confused about one particular part of the problem. Let $Y \in \{0, 1\}$ and $\textrm{Pr}(Y = 1| X = x_0) = f(x_0)$. Let $\hat{G}(x) = I(\hat{f}(x) > 1/2)$ and ${G}(x) = I({f}(x) > 1/2)$ (the Bayes classifier). The error at a point $x_0$ with a 0...
So, I understand that for two vectors of numbers X and Y the mean of X/Y is different from the mean of X divided by the mean of Y. But I'm not sure when it is appropriate to use each. Specifically, I need to calculate the average consumption per days active for a set of individuals, and I don't know which approach to u...
I have a super simple chi-square in R question, but I'm struggling to wrap my head around it. The question was to take a random 20 people from the dataset, count males and females and then use chi-square test to accept/reject the null hypothesis that half of the population in the entire large dataset is men. So this i...
Apologies if this is a really simple problem, but I couldn't find/couldn't find the right words to look for the answer. I have daily air temperature data linked to % greenspace (not normaly distributed) and the nearest offical weather station temperature. It looks like this: ID time avg_temperature met_temper...
Random variable can be written as: R = A + B where R - random variable A - true value B - error (also Random Variable) Suppose now that B as a Random Variable has a mean of 0. So then random variable R has mean as A (true value) and standard deviation as standard deviation of B . So now, we have our random variab...
Let $X$ be a non-negative real-valued random variable. Can one find conditions for when the moments of $\sqrt{X}$ are less or equal to the moments of $X$? A specific example would be the chi-square and chi distributions. Assume the pdf of $X$ is a continuous function $f_X(x)$. Then the pdf of $\sqrt{X}$ is $ 2x f_{X}(x...
As I understand it the p-value for some hypothesis H and some test-statistic T is defined as the probability of observing a test-statistic T' which is at least as extreme as T, conditional on H being true. First question: should "at least as extreme" always be interpreted as "the absolute value of T' is at least as lar...
The definition of covariance says that it is: $cov(X,Y)=E [(X- \overline{X})(Y- \overline{Y})]$ However, it seems that we can also calculate it without subtracting the mean of the second variable: $cov(X,Y)=E [(X- \overline{X})(Y)]$ Is this correct? My argument for discrete variables results from comparing respective s...
Question: There are $n$ flower buds in a garden, each of which opens (independently) with a probability $p$ and each of the blooms survive (independently) with a probability $r$. What's the distribution of the number of buds that survive as a flower? Attempt: Let $X$ be the number of buds that open and $Y$ be the num...
Normally, we have one main IV and other covariates and show relationship with DV. Based on the main IV we conceptualize the research question and hypothesise. Say, Income (IV), Mental Health (DV) plus other variables as Education, Race, Sex. My question is I can have my Hypo I as: higher income is associated with bette...
Motivating Question I had a discussion with somebody recently, who said that a 10 participant sample with a t-value of 2.1 is more impressive than the same t-value for a 100 participant sample. The argument made was essentially this: because the formula for Cohen's d includes $n$, by nature it increases the effect size...
Consider this simple simulated dataset (all groups are normally distributed with sd=1) made up by 4 level 1 groups (lv1) and 2 level 2 groups. The mean of the 4 distribution is 5, 15, 5 and 15 respectively. Here is the lmer output: Linear mixed model fit by maximum likelihood ['lmerMod'] Formula: y ~ 1 + (1 | lv2/lv1...
I am wondering how to interpret the coefficients returned in a multilevel (repeated measures nested within person; random intercepts-only) negative binomial regression. Output is pasted below conducted in R and utilizing the glmmTMB package. Some background on this dataset: I am predicting the number of comments made o...
I have an Origin-Destination matrix expressing (weekly) flows of people between every couple of nodes (cities). The number of people traveling from city $i$ to city $j$ in a specific week is $OD_{ij}$. My goal is to define a distance metric, induced by these flows of people, that allows me to cluster the cities into gr...
I want to know if a certain protein can be a marker of a particular disease and I'm searching for a dose response. I've created a toy example with three ordered groups: control, sick and very sick. Although I purposely create a protein which doesn't follow a dose reponse, with clearly no overlap between groups, the ord...
Apologies if a similar question has been asked before. I have a dataset in which I measured water repellency as a function of water content in soil. I am interested in modeling this relation, as well as the interaction with the addition of a pollutant (in this case copper). Soil samples were incubated for two months at...
According to this website: https://datayze.com/labor-probability-calculator One can model the probability distribution function of spontaneous labour given two pieces of information. a) the due date of the pregnant women b) the current date I have a set of information that provides the due date of labour, and actual da...
Two continuous variables, $Z$ and $X$, are measured at 60 time points during a week for a given person. At the end of the week, the persons value of a variable $Y$ is measured. This is repeated during six consecutive weeks. For each weeks data the regression coefficient $\beta_1$ is estimated in linear model $$Z = \bet...
Suppose I found on the Web (e.g. Github) a neural network model which perform object recognition. The repository provides weights for this model and it provides also a train folder with tools/script to train the model. Why should I train the model if it yet works with those weights?
Can we generate samples by the Metropolis-Hastings algorithm with target density $p(x)$ and proposal kernel density $q(x,y)$ such that the samples satisfy a certain constraint? Take the simple example where the sample space is $[0,1)^2$. Can we generate samples such that the sample points have a given minimal distance?...
My statistics class makes a big deal out of the following fact: for any random sample $X_1, \ldots, X_n$ with continuous, invertible cdf $F(x;\theta)$, $$-2\sum_i\ln F(X_i;\theta) \sim \chi^2(2n).$$ That surely would have been very useful in the days when most researchers didn't have the computational capacity to find ...
I struggle to understand what is a learning algorithm. For example, lets say that $y$ is a function of $x$ but we don't know $f(x)$. A learning algorithm is an approach to estimate $f$. That is, given some training data $\mathcal{D}$, the algorithm returns an estimate of $f$, $\hat{f} = \mathcal{A}(\mathcal{D})$. In or...
In this paper, the author try to fit the Gumbel distribution based on the r largest value of each year using the maximal likelihood estimators: the likelihood function for r largest values $X_{n1},\dots, X_{nr}$ of each year $n=1,\dots, N$. Since there is a increasing trend of the data (not iid), so we cannot use the l...
I try to get mean square error of the maximum likelihood estimators in R (using Monte Carlo). I can write the calculation for the MLE that is repeated once, but I need to repeat the Monte Carlo calculation many times.
I have this bootstrap: library(ggplot2) n <- 30 set.seed(1) orig_mean <- 1 orig_sd <- 2 X <- rnorm(n, mean = orig_mean, sd = orig_sd) set.seed(NULL) # Bootstrapping m_reps <- 20000 boot_means <- c() boot_vars <- c() for (i in 1:m_reps) { current_sample <- sample(X, n, replace = T) boot_means <- append(boot_means,...
I am studying wildlife use of overpasses across three seasons and I believe a Poisson regression for rates with repeated measures is the correct analysis to use, but I am not sure how to include repeated measures in the R code, and I want to make sure this analysis correctly addresses my research question! Study design...
How can a person rely on Central Limit Theorem if he/she does not want to standardize coefficients in order to stick to the original interpretation? If I cannot rely on CLT then my inference results are unreliable. So do I have to choose between keeping the original interpretation and the reliability of the inference, ...
My parents' house number is 1702. My wife's mother's house in a different state is 1704. If they happened to live on the same street they would be next door neighbors. What are the chances of that?
I have collected data from a dot probe attention bias (reaction time) task. I've computed summary scores for each condition, however, some people suggest it's important to also look at trial level variability. The computations for trial level variability seem complex and I am not sure what program and how to run these ...
I have data (5 different vectors of samples A, B, C, D, and E) and I cluster this data into 3 clusters using AgglomerativeClustering with the Wasserstein distance as the metric. data= np.array([ [5, 0, 2, 2], [1, 6, 0, 2], [7, 2, 0, 0], [3, 6, 0, 0], [7, 0, 0, 2]]) I used the following code to clus...
While learning about neural networks, I stumbled upon this really cool resource where you can tinker around with NN's architecture and hyperparameters in a point classification problem. What I'm confused about is the meaning of the input layer which they call the "features." Since the data is just points, I would assu...
Is it acceptable to have a quadratic interaction term in OLS regression? Does this violate the assumption of OLS regression as predictors should have a linear relationship?
Question Please help understand why the eigen vectors do not match below. If there are misunderstandings or incorrect place, please correct too. It would be much appreciated. Eigen decomposition According to eigen decomposition, a matrix A can be decomposed as $A = PDP^{-1}$. Trying to implement it and verify by using ...
I have a list containing the video game scores of around 2000 players. The scores range from 0 to 20. I want to create 3 categories of players: Good players, mediocre players, and bad players. The simple approach would be to create 3 bins with equal ranges (13.33-20 (good), 6.66-13.33 (mediocre), 0-6.66 (bad)). However...
I'm trying to analyze political effects in US Presidential elections. Red States= Republican wins by >=5% Blue States = Democrat wins by >=5% Battleground States = In-Between Hypotheses: H1 Null Ho Red vs Battleground is more Signif than Blue vs Battleground in affecting Y H1 Alternate HA Blue vs Battleground is more S...
I have two questions in front of me, first is : A random sample of size 35 is selected from a population that is normally distributed. If the mean and the standard deviation of the sample is 75 and 8.5, respectively, then find the probability that the mean of the population is more than 78.5. and second one is : A r...
I want to prove This formula: The score function is basically the derivative of the maximum likelihood's log, so to get the information I make another derivative of that: $$ -E[∂/∂θ s(X;θ)] = -E[∂/∂θ (∂log f(X;θ) / ∂θ)] = -E[∂^2/∂θ^2 log f(X;θ)] $$ Now I did $$ -E[∂^2/∂θ^2 log f(X;θ)] = -E[(∂^2/∂θ^2 f(X;θ)) / f(X;θ)] ...
Can neurons in Hopfield Network have non-binary values ( continuous values instead of -1 and +1)? If they can have non-binary values , is energy expression for hopfield NN stays the same? What is the main condition for Hopfield energy to stay consistent? I am aksing this particularly because I am wondering if we could ...
I have often seen the following statement: If $X$ and $Y$ are independent random variables, then their 'correlation' is $0$ What is meant by 'correlation'? Is it specific to measures of linear correlation? Or does this claim apply to non-linear measures of correlation, as well? (e.g. if $X$ and $Y$ are independent v...
How to prove that $\text{var}(X_1X_2)\geq \text{var}(X_1)$ when $E(X_2|X_1)=1$ ? I just try $\text{var}(X_1X_2)=E(X_1^2X_2^2)-E(X_1X_2)^2$ and $\text{var}(X_1)=E(X_1^2)-E(X_1)^2$, but then I do not know how to proceed.
I am working on DQN and have confused myself with Epoch and Episode. I have gone through this answer but the confusion is increased. I will explain my scenario and would like to understand the difference through it if anyone could guide me better. Here is my scenario: I have written a DQN Agent with the following prope...
I would be happy if someone gives me a hint for two following questions in Machine Learning - related application of Classical Multidimensional Scaling in Matlab: 1.) It is recommended (but in my experience rarely done) to apply feature extraction (and hence the feature projection methods as Classical Multidimensional ...
Regarding boosting in the context of machine learning. One definition I have encountered talks about turning multiple weak learners into one strong learner, and another talks about starting with a prediction and iteratively improving it by learning predictors for residuals (such as gradient boosting). The questions I h...
I want to know if the values of $x$ in a regression function, especially in the field of econometrics, can have the same values, for example the number 3. And in that case, we will still have a regression function??? I need to prove this matter in the form of a formula and a concept.
I was solving an exercise for a probability theory course and stumbled upon the following problem. Given a continuous random variable $X$, and $\max(a,b) = a$ if $a > b$ and $b$ otherwise, is $$ E[\max(X, 0)] = \max(E[X], 0) $$ true in general?
In the context of PAC learning, why it is true to say that if an algorithm A is a PAC-learning algorithm, then the sample size required by it must also be polynomial, i.e., how to properly interpret the highlighted part in purple? And what implications can be made from the statement?
I have data on a group of individuals who have been given a new tool to trial on to help with reducing the average time needed to perform certain task. There are two metrics we look at to measure performance, overall reduction in average time performing a task, and the percent accuracy of the completed task. The overal...
I was reading the article "Canonical thresholding for non-sparse high-dimensional linear regression" (It's available here: "https://arxiv.org/abs/2007.12313"), In the discussion about the choice of the threshold parameter they suggest that they can use Cross-validation, I know how to do it for the tuning parameter of L...
Suppose I want to use Monte Carlo to compute some probability $p$. A single MC simulation will run for $R$ iterations and calculate $p$ as the fraction of 'successes'. Say I want to compute $p$ within an error of $E$ with a 95% confidence interval. That is, I want to find $R_0$ such that if I run the MC simulation for...
I have a dataset of observations of hawks foraging. I am trying to examine the relationship between height of perch used (continuous independent variable, integers of 0 through 10) and outcome of a foraging attempt (binary: success or fail). I'd like to answer the question, are hawks more successful at shorter or talle...
I am currently trying to analyze the duration of the egg stage of two species of insect (factor 1; 2 levels - HA and AP) at several different temperatures (factor 2: 5 levels - 20, 23, 26, 29, 32) using a cox proportional hazards model: modelegg <- coxph(Surv(egg.na.1$Duration.egg) ~ egg.na.1$Temperature...
I am looking for a function in R, which executes Ng and Perron (2001) unit-root test and computes all 4 test statistics like in eViews: So far I have read vignettes of packages bootUR and CADFtest, but they do not seem to contain the test in the same form as the picture shows.
I am struggling with assessing the best weighted regression type/model specification for my problem. The goal is to determine influence of independent variables towards the outcome (dependent variable), so estimators and their standard errors should not be biased. Dependent variable is a proportion (so ranging between ...
Variance equation for a probability distribution: $$ \sigma^2 = \sum_{i=1}^{N}(x_i-\mu)^2P(X=x_i) $$ Standard variance equation: $$ \sigma^2 = \frac{1}{N}\sum_{i=1}^{N}(x_i-\mu)^2 $$ I understand that since the expected value of a probability distribution is the same as the mean, the expected value of the square deviat...
When tuning regularized models, two techniques appear to be especially popular at the moment: Cross-validation performance on train & validation splits (the third, test/holdout set is not used in the tuning step or model selection, but only to report an estimate of the "true performance" in the wild.), see below: I...
I know that the Gamma distribution is the conjugate prior of the Poisson distribution, such that given $\alpha$ and $\beta$ that describe the prior distribution, the posterior distribution is $Gamma(\alpha + n\bar{y}, \beta + n)$, where $n$ is the total number of observations and $\bar{y}$ is the mean of the observatio...
I am writing out a t-test by hand and I am confused about how to mathematically express the step of calculating / looking up the $p$-value of the t-statistic. This is what I have so far from the following example: Suppose I take a random sample of size $n=36$ (assume CLT holds) from a population with mean and standard ...
When making inference about mean, i.e. when constructing a confidence interval for approximating population mean, in exercises there always provides a population SD, a.k.a. sigma, for us to solve the problem. But I highly doubt why can this be the case. As long as we know the sigma, that implies we already know the mea...
Let $P$ be a Poisson point process with rate $\lambda$. If it is known that $P(t) = n$, how can we retroactively derive the conditional distribution of $P(k)$, where $k=t-s$ for $s<t$? My idea: The expected value of $P(k)$ is $n-s\cdot \mathbb{E}(f(x; \lambda)) = n-s\cdot \frac{1}{\lambda}$, where $f$ is the exponentia...
I am confused about how to run a formal parallel trends test for my DiD study. Here is an overview of my data. There are 25 districts in the treatment group. Each district has data on district-level average income for five periods (P1, P2, P3, P4, P5) each year from 1900 to 1910. There are 60 districts in the control g...
I'm trying to compare three conditions (A, B, C). And I have a question about the sample size in this experiment. There were 27 participants, and each participant listened to 20 songs for each condition. (I have counter-balanced the order, and 20 songs were the same for everyone.) So the number of the result for survey...
I am running a model testing the interaction of two categorical variables (AKA factors), one with two and the other with three groups. I have done many readings but couldn't find an answer regarding how to interpret the p-values I get, especially considering that what I understand does not make any sense when I look at...
I have airline time series. Here is the tsplot The data clearly seems non-stationary to me. However, ADF test produces a p value of 0.01, indicating that the data is stationary. Any idea why?
I am performing a linear mixed-effect model. library(readr) library(nlme) data = read_csv('data/data.csv') #131 observations, 22 variables head(data) states year green…¹ it preCAPE prePr preRH preTEMP preVPD preWS <chr> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> <dbl> 1 AK 2011...
In a probability and statistics class, we are often told about the requirement of residuals being uncorrelated when fitting a regression model. We are often told that the reason for this requirement is that the absence of this usually suggests low quality data. But mathematically, is there a mathematical reason as to w...
In continuation to this question, Non linear to linearly seperable I am trying to understand if we do not want to transform to a higher dimension is it possible to still find a feature map that maps non linearly separable data into linearly separable data. If yes whats the intuition. For example in the image below I am...
When can we construct prediction interval and we can't: What factor govern this? One of the way to constrained forecast to an interval is using a log transformation. For ex: if we want forecast to be between (a, b) we would use y=log((x−a)/(b−x)) transformation. What is the impact of this transformation on predicti...
Say I want to estimate the following with OLS: $$y_i = \beta_0 + \beta_1 x_{i,1} + \beta_2 x_{i, 2} + \beta_3 x_{i,1} \times x_{i, 2} +\varepsilon_i \cdots (1)$$ for $i=1, 2, \cdots, n$ Now assume that $x_{i,1} = z_{i, 1} + z_{i, 2}$, that is, the independent variable $x_{i, 1}$ can be decomposed into the sum of two ot...
Problem is following: Let $A$ be an event, a subset of the sample space $B$. Are $A$ and $B$ independent? I found this exercise online and it said that $A$ and $B$ are independent but I don't think so because $P(A|B)=1$ which doesn't always equal to $P(A)$ Why am I wrong?
I have a study design with repeated measures (10 assessments per day for multiple weeks). I was asked to make a simple bar plot for several variables. It would seem odd to me to show the bar plots without standard error bars. However, I don't know how to calculate standard errors in the case of repeated measures. Do I ...
The Ramsey RESET test uses the fitted value of y to test nonlinearity, for example: $$ y_i=x_i\beta+\epsilon $$ $$ \hat{y_i}=x_ib $$ $$ y_i=x_i\beta+\gamma\hat{y}^2_i+u_i $$ Test if $\gamma=0$ Why do we use $\hat{y}^2$ but not $x^2$?
tl-dr: The function model.fit() is different from transformer.fit(). My idea is to make all transformations needed on the training set and after that on the test set with fit_transform in both. Hi! I'm learning about machine learning and I'm pretty confused about one thing. I read in a book that we should split the dat...
Here, page 5, it is stated that probability of default is an elusive concept: Thus, the realization of the random variable "default of firm n at time t" is governed by its PD if a firm has survived until t-1. Therefore $\lambda_{nt}$ is the true but unknown probability of default of firm n at time t. As Hilden et al. ...
I made the following example to understand more about combining probabilities. Let's say we have 3 coins hidden inside 11 boxes (3 boxes each have 1 coin and the other 8 have 0 coin). So the probability of finding a coin inside a box is 3/11. Someone give us additional information which is that the right 10 boxes have ...
I am trying to compare distances matrices belonging to two species matrices. One is bacteria and the other is ectomycorrhizal fungi. Both species matrices were generated from the same plant roots using different extraction methods. I want to compare the species composition between the two matrices to determine if the b...
I measured the change in three traits (y1, y2, y3) over time (x). The three traits each reached a maximum at different times and then declined. I am interested in the phase until the max and would like to fit Gompertz curves in the following form: $$ y = \alpha \exp(\beta(1−\exp(−\gamma x))) $$ as the estimated paramet...
The goal of my project is to reduce a metabolomics dataset of around 1000 to sets of varying size in order to attempt to identify reduced feature sets that can serve as biomarkers for predicting changes in plasma markers in response to an intervention. The fewer the biomarkers, the better, though there will obviously b...
Take two binary random variables $G,Z$ and a continuous random variable $\eta$. Assume $$ \Pr(G=1|Z=1, \eta)=1 \text{ almost surely} $$ and $$ \mathbb{E}(\eta|Z=1)=0 $$ Could you help me to show that this implies $$ \mathbb{E}(G\times \eta|Z=1)=0 \quad? $$ If this implication is wrong, could you explain why?
I'm trying to figure out which method to go about calculating an equation based on variables from my database. I have the variables sex, which is 0 for males and 1 for females. I also have serum creatinine which I want in the case of females to be either $\leq 0.7$ or >0.7 and in men either $\leq 0.9$ or >0.9. I've got...
I have a corpus with 3 classes and am attempting to interpret which features can be considered as indicative of a class. I went about it in a one-vs-rest way with SVM and performed binary classification, like class 1 versus 2+3, then 2 versus 1+3, and finally 3 versus 1+2. And then, for each classifier, I got the featu...
I am following a book which states that the diagonal elements of $C = (X'X)^{-1}$ are called the variance inflation factors: $$ VIF_j = C_{jj} = \frac{1}{1-R^2_j} $$ where $R^2_j$ is the coefficient of determination if the $x_j$ variable is regressed on the rest of the variables. When I calculate this $C$ matrix, I get...
I am new to Bayesian. I want to draw data from the posterior predictive distribution p(y|D). Do we need to find the CDF of the posterior predictive distribution and use the monte Carlo method or is there another way for simulation in bayesian? my model has a complicated posterior predictive distribution p(y|D), so I ca...
I trained a CNN model with 6 different classes (labels are 0-5) and I am getting more than 90% accuracy out of it. It can correctly classify the classed. I am actually trying to detect anomaly with it. So what I want is, if any data comes which my model has never seen before or never been trained on similar data then i...
I have dataset composed of samples (here corresponding to sites), species, environmental variables linked to the species (e.g.: species biomass, abundance and size) and explanatory variables (Temperature, oxygen,…). The number of explanatory variables is quite consequent. So I wanted to do a PCA on the explanatory vari...
Suppose I have random variables $X_1,...,X_N$ with $X_j\sim Bernoullli(p_j)$, and I have a random sample of size $n$ on them: $(X_{1i},...,X_{Ni})_{i=1}^n$. How to test $H_0:X_1,..,X_N$ are mutually independent (vs $H_1:$ they are not mutually independent)? A candidate test statistic I can think of is constructed as fo...
I've been wracking my brain over something that seems very simple. I am working with a variable $Y$ that is a weighted sum of a series of data points. Each data point $X_i$ comes from the same distribution. That is, $Y$ is not a sum of different random variables. $$Y = \sum_{i=1}^N w_i x_i$$ The weights are normalized,...
I have already seen several related questions: 1, 2, 3, 4, 5. The answer to 1 states Regularization attemts to reduce the variance of the estimator by simplifying it, something that will increase the bias, in such a way that the expected error decreases. How do we show, mathematically, that regularization (say $L_2$ ...
So this is my forest plot off a dataset found here 'Ejection' Fraction clearly has something over the other variables. I have written: Ejection Fraction is the only significant variable from cox regression that does improve survival rate probability when it is present (these are all variables with values < 0.05. Wou...
In a book called 'Analysing Seasonal Health Data', the time series dataset - CVDdaily was expanded by 'casecross' function, casecross(cvd~o3mean+tmpd +Mon+Tue+Wed+Thu+Fri+Sat,data=CVDdaily, stratalength=28,exclusion=6) and I cannot understand why we need to expand the dataset in order to fit the co...
For a multi-class model, there are always chances that the model is learning one class's features more than the other. But how do I find which class has been weakly learned? Please help.
It is known that variance of AR(1) $y_t=\phi y_{t-1}+\varepsilon_{t}$ is $$\text{Var}(y)=\frac{\sigma_\varepsilon^2}{1-\phi^2}$$ Let $\varepsilon_{t}$ has continuous uniform distribution on $[-1, 1]$ and $y_0 = 0$ How can we estimate how often a process will go beyond given interval $[-a, a]$?
I have historical transaction data for a B2B business. I want to prepare acquisition models where the model will predict the potential buyers who haven't purchased from the business yet. In addition to the transaction data, I have customer data where I have the details about the different businesses in the region (Thei...
I want to predict the future data given the time series data with SARIMA model. In order to determine (p, d, q) and (P, D, Q, m), I plotted the ACF and PACF. The ACF graph shows that there is a seasonality of 24 intervals, so I set the m as 24. However, I don't know how to set, p, d, q, and P, D, Q. In other example, ...
I am doing VECM of prices of meat. This one result confuses me. This one shows that P_F and P_R has a positive relationship. This can be interpreted at 1% of P_R is 0.18% of P_F. However it also shows that there is a negative trend. Can this mean that the P_F and P_R are both decreasing in the long run? The results are...
As title says I would like to understand why there are so many tutorials and notebooks showing how to fit 1 dimensional functions with neural networks instead of polynomial regression. What are the advantages of using MLPs? do they generalize better? 1re they more powerful function approximators?
Say I am interested in looking at the 5 year occurrence of an serious adverse drug reaction including mortality occurring in a group of patients being treated for a disease. I would imagine that because we are looking at the odds of whether someone is alive or not/experienced hospitalisation for the ADR or not at the t...
There are cases (arguably the vast majority) where the data distribution is unknown. Confidence intervals make sense for the class of "nicely" defined theoretical pdfs ie Gaussian. In this case, we know that additional samples help to derive the characteristics (statistical moments) of the pdf. However, there are other...