instruction stringlengths 9 38.7k |
|---|
I am currently working on a subject and struggling to find a way to tackle it.
Ok, so, let's say I want to predict whenever a human is going to faint in a rollercoaster. I have multi-variables time series data for each "run". We have both rollercoaster related data (acceleration, height ...) and human related data (BPM... |
I am working on SVAR model that contains four variables, log of oil price, log of GDP, log of the effective exchange rate, and inflation. My analysis focuses on short-term (Cholesky Identification) and long-term (Blanchard & Quah(1989) Identification). According to The Augmented Dickey-Fuller (ADF) test, all my variabl... |
In generalized linear model we can put weights so that glm function can work faster. However for generalized additive models, in mgcv:gam we also can put weights. But I'm not sure whether this works in the similar way! Or how does it work? Or if it doesn’t work in that way then what is the procedure for putting weighs ... |
I have GPS collar data that I have used to extract values to points through ArcGIS Pro on MODIS landcover data. From this, I have a record of the number of times the animal has been in each landcover class. My data looks like this:
Landcover
Selection Frequency
Evergreen
105
WoodySavanna
327
Savanna
30
Gr... |
If $X$ and $Y$ has the Spearman correlation $r_s=1$, is it possible that the Pearson correlation between $X$ and $Y$ is 0?
|
In my dataset, the target variable has three labels: Normal, suspect, and Pathology.
Using multinomial logistic regression, I calculated the weights for each predictive feature and got something like this:
When estimating the model, identification
constraints are required on the parameters.
These constraints do not in... |
I am interested in predicting psychopathology development over time using survival parameters from the survival model.
I have data collected using ESM in daily life during which individuals reported whether they had stressful events and reported their stress for the rest of the day. My overall goal is to find out wheth... |
I have a question about how to compute the Expected Shortfall practically. I know from the theory that the ES is the conditional Expectation of the Loss distribution (conditional on the VaR) and that it is intrinsically greater than the VaR:
ES_α = E[L|L > VaR_α]
Following this formula I have calculated the VaR in R... |
I need to prove mathematically that the value of Recall is always bigger or equal to the F1-score.
The equation would be: $2 \times Precision \times \frac{Recall}{(Precision + Recall)} \le Recall$
Does someone have an idea how I can prove this mathematically?
|
I'm reading this, and I don't understand how the prediction intervals are calculated for the baseline forecast methods. I agree that we can estimate the SD of the sample from the known residuals
$$ \begin{equation}
\hat{\sigma} = \sqrt{\frac{1}{T-K-M}\sum_{t=1}^T e_t^2}, \tag{5.1}
\end{equation}$$
Where $K$ is number... |
I'm planning to use a LMM for my analysis. This is new to me.
I wonder what structure my LMM has? Is it a nested random factor LMM?
As I tried to show in the graphic already, I took body length and isotopic values from organs of every individual in my sample collection.
And how can I classify it according to the McGra... |
For probabilities $p_i=\frac{i}{10}$ where $i=1, \dots, 10$, the respective quantiles are $\tau_i$. How can I calculate an approximate expected value?
|
I want to try if using Pearson Correlation as custom objective in the XGBoost R package gives me better results than the MSE. The idea was already referenced here and here, and that it might or might not be helpful when modelling on a highly noisy output. What would the custom objective function look like for correlati... |
I have a list of loci of interest across genomic data. I also have various subsections of the genome I'm studying that have been established independantly, and for each subsection I run a certain algorithm on it which gives me a certain score.
Here's a diagram to represent the situation (in reality, I have several thou... |
I want to analyze postmortem (neuropathology) data from dementia patients who are part of a larger ongoing observational study. At the time of the data freeze (i.e. the time at which I access the data), some patients have died and are thus eligible for my dataset, whereas others are still alive and thus not included.
I... |
Let's say I have two tables, listing projects with the programming languages and frameworks they use:
| ProjectID | ProgrammingLanguageID |
| --------- | --------------------- |
| 1 | 32 |
| 2 | 27 |
| 3 | 8 |
And:
| ProjectID | Framewor... |
[From Theory of Point Estimation (Lehmann and Casella, 1999, Exercise 6.37)]
Let $P=\{P_\theta:\theta \in \Theta\}$ be a family of probability
distributions and assume that $P_\theta$ has pdf $p_\theta$. Let $A$
be a fixed Borel subset of the sample space. For each distribution
$P_\theta$, we consider the truncated di... |
Would there be any seasonality to be interpreted in this plot? I see that February and September may show seasonality but am unsure the best way to interpret this. Link to another question that may provided additional context: Explaining ARIMA forecasts
|
The research question is if there is a correlation between language barriers and DASS-21 scale (dependent, continuous) I have 3 items that I am using as independent variables.
The first item is language level. At first it was ordinal (beginner/intermediate/advanced) but I turned it into a dichotomous variable with 0 fo... |
I have a variable, days until release from prison. However, some people have no value for this variable because they have life sentences. So, currently, they count towards NA/missing data. I'm not sure what would be an acceptable way to represent this numerically? If I code them as a character, that would affect the fo... |
Which is the correct way to compute the elasticity in this log log regression?
Context:
When having an log log regresion:
log(Y) = log(B0) + B1 log(X), being Y= Demand and X Price, B0 intercept and B1 the Price elasticity.
So, when solving the loglog regression, we have:
B0=100
B1= -1.1
Question:
The way to compute c... |
I am modeling a logistic regression of a binary outcome on several continuous and dichotomous variables and covariates. The sample is large, around 600k. The outcome variable is positive around 40% of the time, while some of the covariates have less coverage (not missingness), only occurring in around 10% of samples.
I... |
My course notes (3rd-year module in Bayesian Statistics, unpublished) have a paragraph,
Gaussian data with known variance
Suppose we have $\textbf{x}=\{x_1,\dots,x_n\}$ iid given $\theta$ and $\sigma^2$ as N$(x_i\,|\,\theta,\sigma^2)$, and assume $\theta$ unknown but $\sigma^2$ known. Given these data you are interes... |
I am looking for a statistics book that not only gives formulas or proofs but also gives intuitive explanations.
For example, the standard deviation is defined by
${\sigma_x} = \sqrt{\frac{1}{n}{\sum\limits_{i = 1}^n {\left( {{x_i} - \overline x } \right)} ^2}}$.
I am wondering why it's not defined by $\frac{1}{n}{\sum... |
We have two models:
Let $N \sim \hbox Poisson (\lambda)$ and let $(X_k ; k =1,2,3,...)$ be a a sequence of independent and identically distributed random objects (random variables, vectors or stochastic process) and independent of $N$. Consider the following Compound Poisson object
\begin{equation}\label{abc}\tag{I}
... |
I'm working on a project that compares how predictable/unpredictable individuals' actions are in terms of how they transition between actions. We consider their actions to part of a first-order Markov chain, where $X$ is a random variable describing their present action and $Y$ describes their next action. We calculate... |
I have a large set of sales data. I have the Skus and final sales price and a lot of extra information such as date, location, buyer, etc. I am wanting to make a sort of calculator so someone could enter sku and then additional information and it would give an approximate competitive sales price.
I know to do this firs... |
I need to make cross-validation curves to check the validity of a Cox model.
So the data are divided in training and test.
The coefficients are estimated on the training and the predictor linears are calculated from the test with the coefficients estimated in the training.
But then how to draw a calibration plot such a... |
In the PCA transformation below, you can see a dataset with 2 original features and a transformed version with two principal components. I understand why we can have fewer PCs, but why not more? What am I missing.
|
I have 2 groups doing the same test and recorded their reaction times, however the sample size/observations for the groups are not equal. One is 54 and the other only 14. How would I go about doing a power calculations and interpret the p-value?
|
I've been studying Logistic regression for a few weeks and I have a doubt.
According to what I've been studying, Logistic regression fits a sigmoid function $$ \frac{1}{1+e^{-(wx+b)}}$$ to the data and gives us the probability of an example being $y=1$ based on input features $x$.
And then we set a threshold value to c... |
I have six lists of data in Python where each list contains 23 items as follows.
list_1 = [-1.42, -1.87, -1.64, ...]
list_2 = [-1.56, -1.64, -1.98, ...]
list_3 = [-1.36, -1.44, -1.58, ...]
list_4 = [0.983, 0.956, 0.853, ...]
list_5 = [0.853, 0.953, 0.753, ...]
list_6 = [0.864, 0.835, 0.799, ...]
My goals are as follo... |
I have an empirical observation with about 300K continuous values. I fitted these values (with disfit python library) getting a loggamma distribution:
The resulting parameters are:
c = 0.08513733275923194
loc = 4.422783357274778e-06
scale = 2.430755669784885e-07
I want to estimate the probability of observing certai... |
Google is coming up a bit short when I searched for "joint vs sum random variables".
Perhaps someone can provide an authoritative answer to compare and contrast the sum/convolution of 2 distributions vs the joint probability distribution?
|
The title of this post actually says what I want to ask about.
To detect heteroksedasticity for an ordered logit regression using the polr function in the MASS package in R can the standard error from the regression summary then be used to check if there exist heteroskedasticity?
If not then how can there be tested for... |
I have a stochastic process $X_{t}$ that has probability $p(t)$ that $a < X_{t} < b$ with $p(t)$ a decreasing function. I want to find the random variable $D_{t}$ which describes the duration $X_{t}$ has been within $a$ and $b$ up until $t$. Let $Y_{t} \sim$ Bernoulli($p(t)$) denote whether $X_{t}$ is in the interval ... |
I have a dataset in which I am trying to predict whether customers default on their loans or do not.
One of my variables is called DURATION which indicates the length of time before a person defaulted/did not default.
I understand that I can use survival trees and survival analysis to check how many months (in my case)... |
I was reading how not to train your generative model paper. I don’t quite understand how the simplification from equation 4 to equation 5 can be right and based on my calculations it should be wrong. Would anyone mind giving me a hint?
Specifically, if we assume $Q_{x_2}$ is independent of $x_1$ then this equation says... |
I would like to check the correlation between one nominal variable and another ordinal variable, is there any help about which method I can use? I used tau to check the correlation between two ordinal variables, was that correct?
Is spearman suitable?
|
I'm looking to test explanatory variables that might have quadratic rather than linear relation to the dependent variable.
I have read in several places that this could be done using the squared (^2) values of the explanatory variables. However, in all the examples I found online, as well as for my analysis, results fo... |
Exercise. Let $X_1,\cdots,X_{n}$ be i.i.d.r.v.'s from $N(\theta,1),$ where $\theta$ is unknown.Show the statistic $T(\mathbf{X})=\sum_{i=1}^{n}X_{i}/n=\bar{X} $ is sufficient for $\theta$.
The answer as following:
Suppose that we transform variables $X_1,\cdots,X_{n}$ to $Y_1,\cdots,Y_{n}$ with the help of an orthogon... |
Model: ARIMA(2,1,2)(0,0,1)[4] w/ drift
Coefficients:
ar1 ar2 ma1 ma2 sma1 constant
-0.7644 -0.7437 0.4964 0.9233 0.6741 3335.837
s.e. 0.0690 0.0608 0.0362 0.0393 0.0713 1246.015
sigma^2 estimated as 18215276: log likelihood=-1787.95
AIC=3589.9 AICc=3590.54 BIC=3612.... |
Suppose I have a vector valued random variable $(X_1, X_2)$ in $\mathbb{R}^2$, with density $\pi(x_1, x_2)$. Let $\mathbf{\mu} = (\mu_{X_1}, \mu_{X_2})$ denote the mean vector of this bivariate distribution.
Question: Does
$$
\mathbb{E}[X_1 | X_2 = \mu_{X_2}] = \mu_{X_1}?
$$
Intuitively I would think this should be tru... |
I am fitting a flexible parametric survival model with 1 df on the log cumulative baseline hazard (i.e. a Weibull model) but with a 1 df (linear term) on the interaction of X1 with log time, to account for non-proportional hazards.
The regression equation is:
stpm2(Surv(time = time, event = event) ~ X1 + X2 + X3 + X4, ... |
It is possible to do hypothesis testing, regression, classification, ect, all using Bayesian methods. Furthermore, these Bayesian methods are more flexible and easily interpret-able than Frequentist methods. Therefore, why solve a statistical problem in a more difficult manner? Really, the true reason why frequentist m... |
I understand that is OK, or sometimes even necessary, to include an independent variable as both a fixed and random effect in a linear mixed model. However, what happens if your model only has a single independent variable and the variable is used as both as a fixed and random variable?
My instinct is that all the vari... |
I know that uniformly most powerful tests have to be based on the likelihood ratios as test statistic, which is not the case for the Fisher exact test. Nevertheless couldn't I use the G2 test metric, but calculate & tabulate its test statistic numerically for all relevant small numbers instead of approximating it by $\... |
I am trying to visualize LSTM that is applied to sequential data available here: https://its-ml.de/index.php/plattscaling/
There are 25 features with 50 sequence length.
LSTM layer 1 has 100 cells, LSTM layer 2 has 50 cells with droput as 0.2.
The output/dense layer has 1 cell which contains a single value.
This can be... |
Dear people of the internet
I have made a mediation test on a multiple linear regression and it comes out insignificant. However, I am having trouble trying to make a TOST equivalence test of the result.
Can I save the ACME result as a statistical model, so I can use the "equivalence_test" function? Or is there some wa... |
My data has 1530 samples and about 50 features. Not all features are used, some are removed after a feature selection process. Now I'm facing overfitting, and one solution to overfitting is regularization, making the model simpler and forcing it to behave in some way. [My train set gets AUC of 0.9 and the test set bear... |
In the spline regression tutorials of pymc and bambi they first define the knots using quantiles, but for building the design matrix they don't use the boundary knots and only keep the internal knots. In the pymc tutorial they don't mention it at all, in bambi they don't give a reason either and just write:
We only pa... |
My understanding of the output of statistical models is that you get a sample estimate. E.g. in regression you'd get a slope among other things.
This estimate is one of many possible slopes that come from your sampling distribution of sample slopes which has a mean of 0 under the null hypothesis. The standard error is ... |
I would like to model a continuous response which looks like this
As the instrument had a maximum detection limit (1020 units) lots of experiments have got the maximum measurement.
On my head this is sort of opposite of a zero-inflated distribution.
To recap, which distribution can fit "maximum-inflated" response?
|
Suppose I'm running a 3x3 repeated measures ANOVA with the main effects of "Condition" and "Species": Condition (hat x neutral x glasses) Species (dog, cat, human). The experiment involves human subjects who rate images ("How cute do you think a dog in a hat is" according to their cuteness.)
In this research, I want to... |
I'm trying to generate values for 3 variables. Variable A is correlated with B and C, but B and C are not correlated. How should I go about doing this?
At first I tried using rnorm_multi, but I cannot run the code with only 2 correlation values.
And then I tried running rnorm_multi twice, the first was to generate valu... |
As in the title, I just want to make sure if that's the case.
|
If we have two random variables $X$ and $Y$, then $\text{corr}(X,Y)=\dfrac{
\text{cov}(X,Y)
}{
\sqrt{
\text{var}(X)\text{var}(Y)
}
}$.
This correlation will not be defined if either variable has an undefined variance.
Is it possible for the variables to have an undefined covariance while having defined variance? Can an... |
For my master thesis, I have a study consisting of 1 independent variable (digital media channel; level 1 = email, level 2 = social media), 1 pure moderator variable (client type; level 1 = existing client, level 2 = potential client) and a metric dependent variable (intention to click (ITC); answered on a 5-point Like... |
My understanding about confidence intervals is like this below.
There are 50 students and check their height.
The average height is 174cm, and the 95% confidence interval is [166cm, 182cm]
However, the confidence intervals of autocorrelation plots look different. In the figure below, the blue background means confide... |
I have the following two questions it might consider easy but I need to understand the intuition behind it
Assume I have two financial assets , my portfolio return model
$$
\begin{align} \label{s2}
w^T r_{t} = w^T \mu_{t}+ w^T \Sigma^{\frac{1}{2}}_{t}\varepsilon_{t}
\end{align}
$$
my error vector is under Gaussian ... |
I used to say that OLS is an estimation technique and should never be confused with the type of model on which it is applied. Thus a phrase like "I have an OLS model" would not make sense to me, strictly speaking. (I would usually be able to guess what people mean, though.) However, in a comment under this post Dave of... |
I have trained six random forest regression models (to predict topsoil, subsoil and total soil organic carbon stocks for two study ares) using out-of-bag validation, and I have gathered the R² and normalised RMSE (normalised using the mean of the measured values) of the validation, as suggested by my thesis supervisors... |
I am using R to fit a logistic model to some data. The problem is as follows:
"The effects of the dose of poison $(x)$, in milligrammes, and the method of delivery $(w)$ on the
probability of survival were examined in a study of rats. The two methods of delivery were
as a solid with food or as a liquid in water. For ea... |
I don't know what is it in statistic term, but I will say it the noise.
Noise is defined as absolute difference between real percentage result after experiment and ideal probability.
The question is minimum number of attempts required to toss a coin so that the absolute difference between the percentage of occurrence o... |
I'm training a linear model and get an R2 of 0.07 in training, 0.06 in test set. While not 'great' in my application (trading) I hear this is reasonable.
The distribution of the target (top image) below is a lot wider tailed than what my predictions get (bottom). Making it a lot less practically useful as a trade signa... |
I understand this is true for OLS, but i am not sure if this is true for every other model, like ridge or a NN.
|
Assuming you have a series of known vectors $k_i$ in $\mathbb{R}^N$, each at an angle $\theta_i$ to a single unknown vector $v$. All vectors have the same dimension $N$ which can be arbitrarily higher than the number of known vectors.
What is the best way to determine the expected / most probable value for $v$?
Additi... |
I have a dataset to predict whether applicants default on a loan.
Within the dataset, I have a DURATION variable that works as a time variable so I could perform survival analysis.
The thing is, I want to know if I could use a classification model and not survival analysis on the data to predict DEFAULT. Thoughts?
...o... |
I have data that looks something like this:
I was hoping to run ancova, but the data is not linear in the continuous variable, and there isn't an obvious transform to apply.
However, each group is roughly a shifted version of the other (I have drawn it more stark than it actually is, to highlight this point: the data ... |
I have heard from one of my friends
"In binary classification, consider the 0-1 loss (I[y!=f(x)]). Its expectation is the accuracy of the model. Then consider a surrogate risk, like exponential loss or quadratic. CC proves that for some surrogate loss, a sequence of functions that converges to minimal surrogate risk al... |
I am reading a meta-analysis where the authors state the following. (I've redacted the active drug name, as my purpose is to understand not call anyone out.)
The treatment response to placebo and [drug X] were analyzed separately per treatment group as measured from before to after treatment.
And they then report the f... |
The Question
I am currently working on an analysis of my company's customers and their visiting patterns. In particular, one question that has come up is:
Given that a visitor has visited x times, how likely is it that they will visit again at least once?
Intuitively, it seems to me that there is a meaningful relatio... |
I am relatively new to methods for causal inference. So, please excuse my conceptual confusion. However, I have been looking into the synthetic control method first proposed by Abadie and Gardeazabal (2003) in this paper on the economic costs of conflict. One thing that is confusing to me is that in most of the papers ... |
I have microbiome data structured as follows:
PatientID
Treatment
Response
P1
Pre.
Yes.
P1.
Post.
Yes.
P2.
Pre.
No.
P2.
Post.
No.
where I want to look at differences in the microbiome between patients who did and didn't respond to drug treatment. I have approximately 40 patients.
I have used phyloseq ... |
I have a dataset with approximately 38,000 measurements of sizes of cysts from 64 kidneys from 5 different groups.
We have a hypothesis that the distribution of the sizes (small to huge) is different between the groups. Perhaps this could be represented by mean, median, or other means.
The data has an enormously large ... |
(Background: I am researching a economics problem and for the research, I need to know the general theory of multinomial distribution problems. This question is just an example to understand the general problems)
There is a fair dice. Let's say $X$ is the number you get when you roll the dice. $Y$ is the payoff we get ... |
I found from some literature that when we use the method of moments to fit the Gumbel distribution, the estimated
(On page 24) A comparison of the variance formulas in (1.66) with the CramBr-Rao lower bounds in (1.61) readily reveals that the moment estimator ii has about 95% efficiency while the moment estimator 6 ... |
Given a model
$\hat{y_i} = F(x_i \hat{\beta}) + \epsilon_i$,
where F is some mapping function that could be, for example, the sigmoid function, and x is a row vector of your features
I see that
Likelihood $\ell = \prod_{i | y_i=0}^N F(-(x_i\hat{\beta})) * \prod_{i | y_i=1}^N 1-F(-(x_i\hat{\beta}))$
But why would the in... |
I'm using random forest for generating a predictions on the regression. I've seen confidence interval constructed from evaluation metric of models instead of directly from the model prediction. Is it possible for me to bound each of my predictions in my test set with a confidence interval? My additional questions are:
... |
Let's say there is a multiple regression:
$$
Y = \beta_0 + \beta_1X_1 + \beta_2X_2 + \beta_3X_3 + \beta_4X_4 + \beta_5X_5+U.
$$
I know that conditional exogeneity implies that the error terms are mean independent as a function of all $X$ variables jointly. For example, wage = education + ability violates exogeneity bec... |
This sounds like a question that should have come up before but I couldn't find it on CV.
I am trying to use a column called limit_price as in the limit price of an order for a machine learning project (you can assume I am trying to predict the average trading price of an order). This column is an upper limit for a buy... |
I am currently studying the textbook In All Likelihood by Yudi Pawitan. In chapter 2.4 Likelihood ratio, the author says the following:
$$\dfrac{L(\theta_2; y)}{L(\theta_1; y)} = \dfrac{L(\theta_2; x)}{L(\theta_1; x)}.$$
Since only the ratio is important, within a model $p_\theta(x)$, the likelihood function is only m... |
Let $x_0,x_1,...x_n$ be iid (independenta and identically distributed) random variables. Then, $m_0,m_1,...m_n$ be defined as $c-x_0,c-x_1,....c-x_n$, where c is a constant greater than $x_i$ ($i \in \{0,1,..n\} $). The question is that the $m_0,m_1,...m_n$ is also iid?
|
Metropolis - Hastings : Data Science Concepts youtube shows the acceptance probability $A(a \rightarrow b)$ is $Max(1, \frac {f(b)}{f(a)})$.
Is it correct or it should have been $Min(1, \frac {f(b)}{f(a)})$?
|
I am trying to normalize prices based on the (median, MAD) transformation. I attach a image below describing it in comparison to the (mean, std) normalization.
I have trouble underatanding if b should be based on the whole sample, or just on the calibration window. In the (mean, std) it says that both a and b are calcu... |
I've got my survival curves looking like this:
NPMLE using icenReg
semi_parametric using icenReg
and cox PH, where right side of interval is used as time of event
Why do the survival curves estimated by icenReg have that strange vertical line at the end? How should I interpret it and is this something I should worry... |
I am analyzing three years' worth of data. For some descriptive analysis, I want to know if there is a difference in the median between, $year_1$ and $year_2$ compared to $year_3$. To do this, I planned to average $year_1$ and $year_2$, creating a comparable 12-month reference group with $year_3$. I would then use the ... |
I have included the results that I got from a homework problem, but am a bit confused on how to interpret them. The dataset contains information from schools about vaccination rates and exemptions along with enrollment and school type. Enrollment I can interpret just fine but what I'm having trouble with is the pubpri... |
I have a data set split in training, validation and test that I will use for training, validating and testing a classifier. We have missing or incorrect labels in all these folds and we are trying to use some techniques of data imputation for dealing with these problems. But I'm not sure how to use the data imputation ... |
I would like to know if the caret package has decision-making algorithms other than the decision tree. I know the decision tree algorithm is intuitive and easy to explain, however, the decision tree algorithm has limitations in terms of accuracy and/or performance.
In my case, I need an output to explain the decision i... |
I note that the lognormal distribution approaches a normal for a small coefficient of variation, but I'm having a hard time showing this mathematically. Can someone help?
|
Model:
multiple.regression <- lm(Pocket.Price ~ Pocket.Margin + SKU +
Sold.To.Customer + Quantity,
data = new_data3)
I have a data set with SKU, Buyer, Quantity, Date, Selling Margin, Selling Price. I am trying to use this data to establish a base SKU pricing list... |
A question on a problem sheet I am working on asks us to find the Fisher information matrix (FIM) for the following setup:
Suppose that $Y_i \sim \textrm{Bin}(r_i, \pi_i)$ for $i = 1, 2, \dots , n$, all independent, where the $r_i$ are known,
$\ln({\pi_i/(1 − \pi_i)}) = \beta_0 + \beta_1 x_i$ and $x_i$ is a known covar... |
It is well known that the solution to the orthogonal Procrustes problem
$$
\textrm{arg min}_{\Omega \in \text{SO}(n)} ||Y - \Omega X||^2_2,
$$
can be expressed in terms of an SVD of the covariance matrix $M = X Y^T = U\Sigma V^T$ and, ignoring $\det(M) = -1$, is
$$
\Omega = V U^T.
$$
However, the solution is non-unique... |
TLDR:
to a NN you give a dataset and it predicts the $\beta$ that linear regression would have found if solved on that dataset
Context:
I have a dataset of datasets (synthetical) with the same number of feature, so it's $D = R^{m\times n\times d}$ where:
$m$ is the number of datasets
$n$ is the number of samples in ea... |
Suppose we have a time series of the following form:
$$\vec{R}_n = \vec{\mu}_n(\vec{\theta})+\sqrt{\Sigma_n(\vec{\theta})}\vec{Z}_n$$
Where $Z$ is a iid standard multivariate normal. We assume the mean and covariance are predictable (some authors like D. Williams say previsible), i.e. known at time $n-1$:
$$\mu_n, \Sig... |
I have a question dealing with logarithmic variables, log-sum and dummy variables in a multiple regression.
First of all I’ve never worked with log-sums before.
I have a model with y that is log-transformed. The independent variables are: one log-transformed, two dummy variables and one variables that is a log-sum. I w... |
if $x_0,x_1,...x_n$ be iid (independenta and identically distributed) random variables. The question is that the $x_0,x_3,...x_{n-1}$ is also iid?
|
My understanding of a mask in arrays is to have boolean values matching the shape of a query array (n, m) where you would mask the query and perform an operation. For example, this operation to sum only the positive values in an array:
import numpy as np
query = np.random.normal(size=(5,10))
mask = query > 0
np.sum(que... |
I've constructed a logistic glmm for predicting if individuals of a single species of fish caught will have an empty stomach or not (1=emtpy, 0=not empty). My predictor variables are salinity (sal), temperature (temp), standard length (SL), Station/location (which are not the same each year, but neither are they random... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.