instruction stringlengths 9 38.7k |
|---|
I want to find the Wold representation of $y_t = e_t + \alpha e_{t-1} e_{t-2}$, but I'm having difficulties with the product.
For instance, I tried:
$$
y_t = e_t + \alpha e_{t-1}e_{t-2} \pm e_{t-1}^2 \pm \frac{\alpha^2}{4}e_{t-2}^2 = e_t - e_{t-1}^2 - \frac{\alpha^2}{4}e_{t-2}^2 + \left(e_{t-1}+\frac{\alpha}{2}e_{t-2}... |
Is there any non linear dimensionality reduction algorithm that returns a projection matrix $W$, such as Kernel PCA and Kernel LDA does?
The projection matrix $W$ can be a non linear transformation matrix. My goal is to find a method that don't have any optimization requirements when projecting data onto a new dimensio... |
I am starting to learn more advanced statistics and I have come across this problem:
Find the Maximum likelihood estimator of $\theta$ if $X_i$ have the following density:
$f(x-\theta)$
with $f(x-\theta)=\frac{e^{\frac{-|x-\theta|}{2}}}{2\sqrt{2\pi|x-\theta|}}$
I have tried to differentiate the log but cannot find wher... |
Consider a stochastic process $\left( x_t \right)_{t \in \mathbb{R}}$ with auto-covariance function $k(t, t') = \mathbb{E}[(x_t - \mu_t) (x_{t'} - \mu_{t'})]$ where $\mu_{t} = \mathbb{E}[x_t]$.
Suppose $k(t, t)$ is constant, meaning that the variance of the process is stationary.
What is such a process called?
Note tha... |
I have a list of coordinates for where different people live over an eight-year period. They are repeat cross-sections of populations served by several county agencies for free workforce training for low income populations. We suspect (and basically know) that, as the city has gotten more expensive and gentrified, lowe... |
Suppose I have the model
\begin{align*}
Y_i \sim \text{Poisson}(e^{\beta_0 + \beta_1t_i + \beta_2X_i + \beta_3 t'_i})
\end{align*}
where $\boldsymbol{\beta} = (-1, 0, -10, 0)$ for $t_i = i$ for $i = 1, \cdots, 100$, $X_i = \mathbb{I}(t_i \ge 60)$, and $t_i' = \max(0, t_i - 60)$. You can imagine a scenario where we are ... |
I know that Khinchin's Law is for sample mean:
$$\overline X_n=\cfrac 1n\sum_{i=1}^{n}{X_i}$$
$$\lim _{n \rightarrow \infty} \operatorname{Pr}\{\left|\overline{X}_n-\mu\right|<\varepsilon\}=1$$
How to get a law for sample variance:
$$S^2_n=\cfrac{1}{n-1}\sum_{i=1}^{n}(X_i-\overline X_n)^2=\cfrac{1}{n-1}(\sum_{i=1}^{n}X... |
I'm interested in performing a Bayesian meta-analysis, specifically, using a random-effects hierarchical model (as described here). Briefly, in this model we assume that the $k$th study's reported (observed) effect size $\hat{\theta}_k$ is an estimate of that study's true effect size $\theta_k$. Further, all $\theta_k$... |
My general understanding of particle filters is that you represent your state as a collection of discrete particles which you then transform using your state propagation equation.
What I don't understand is why you re-sample the particles after propagation? Isn't the whole point to accurately track the distribution?
Se... |
I have conducted OLS with interaction terms in R and used emmeans package to examine further. I am not sure whether I am on the right track to interpret the interaction terms.
My research question: Does depression moderate the association between abuse and delinquency?
Hypothesis: Abuse experience will have a greater ... |
I know there is similar question related this topic but I still cannt solve my case.
So, I have one year data (365 days) of car request. I did 80%(+-280days) for train, and rest for test data. And, I make prediction with ARIMA.
Arima_model=sm.tsa.arima.ARIMA(train_df,order=(0,0,0))
result=Arima_model.fit()
future_dates... |
Suppose I want to learn about a random variable $X$ (e.g., whether the subject is infected with Covid). I have already accessed a random variable $Y$ (e.g., an antigen test), which can help me partially learn about $X$. Now I would like to know given $Y$, how much another random variable $Z$ (e.g., nucleic acid test) c... |
I have a data set for observations of life stages of red seaweed with the surface area (mm2) taken on day 1 - 8, 10 and 14 (n = 10). Each life stage has been assigned a number 1 - 5 for a life stage and 8 for death.
Culture vessel - petri dish had 10 identified and then tracked. 2D surface area measured and life stage... |
I'm reading this book, "Unperturbed by volatility", by Adel Osseiran and Florent Segonne and it says the following:
Then, if we assume that individual volatilities (sigma) and correlations (rho) are the same for all assets (and pairs), then the volatility of a portfolio N equally weighted assets is
sigma_N = sigma * S... |
Let's say I have a classification model to be trained and a relatively small dataset. The data is splited in k-folds (eg. k=5), in such a way that:
A, B and C are used for training, D for testing and the trained model is evaluated on E.
B, C and D are used for training, E for testing and the trained model is evaluated... |
I am trying to use ARIMA for hotel reservation. I have data for a year each day and I want to make predictions.
But, my result is very poor I wonder why.
Here I attach my data
And, this is how I run my model
I got that the best order parameter is 212. with AIC score 3460.847 *I also wonder why its so high.
And, this ... |
I have a few questions regarding ranked data and hypothesis testing.
Hypothesis: Car drivers are more likely to consider the car as the most beneficial transportation method for mental health than other transport method users'.
Respondents were asked to rank 4 transport methods from least (1) to most (4) beneficial to ... |
I am currently studying whether academic freedom (independant variable) has an impact on university rankings (independant variable). So far, my model is only composed of these two variables, as well as university fixed effects.
In order to get a better estimation, I am currently looking for control variables to include... |
Dears,
I have this data below, which represents a distribution of population across 8 groups in time 1 and consequent time 2. (time1 > time2). I would like to sample using these 2 inputs, it this sampling below appropriate?
data:
from to
group 1 17.785825 24.6877200
group 2 19.024499 19.1316200... |
I am writing a paper where I am comparing the change over time of an intervention and control group. I have the mean and standard deviation for both groups at baseline and the mean and standard deviation following an 5 week period. I can then calculate the mean difference over time for each of the groups, but I'm not s... |
I have trained a regression forest using the R package ranger. Now I would like to discuss the variable importance measures of the included features. However, I am having difficulties understanding the exact definition of the different importance measures offered by ranger.
The documentation of the ranger function stat... |
I have a highly seasonal data of a little more than 1000 observations, with a 67 seasonal cycle.
I am using auto_arima in Python and for some reason when I perform a stepwise search I get a memory error after the stepwise search has fitted a few models.
Why could this be happening?
Data plot with an earlier ARIMA model... |
I want to calculate the perplexity of my language model. To avoid underflow, I stored the log of the probabilities. Since the probabilities are between 0 and 1, the log of them is negative. So when I want to calculate the perplexity, when the number of words is even, the perplexity becomes an irrational number. On the ... |
Four samples were analyzed daily for 5 days. It is known that time influences the values of the analyses, because the samples are sensitive to the passage of time. Here is a table illustrating the results of this experiment:
Days
Sample 1
Sample 2
Sample 3
Sample 4
Day 1
2,7
6,6
2,3
2,1
Day 2
3,2
9,0
2,2
2,2
... |
I am working on problem set 2, Q4d from the MIT 6.041
Oscar has lost his dog in either forest A (with a priori probability 0.4) or in forest B (with a priori probability 0.6).
On any given day, if the dog is in A and Oscar spends a day searching for it in A, the conditional probability that he will find the dog that ... |
Consider the sequence
$$\gamma(\tau) = \begin{cases}
1 & \text{if } |\tau| ≤ K \\
0 & \text{if }|\tau| > K
\end{cases}$$
where $K$ is a positive integer. Is $\gamma(\tau)$ an auto covariance sequence for some discrete parameter stationary process $Y_t$ ?
The answer is no but I don't see any valid argument. This would c... |
All existing link prediction methods (and indeed, all GNN methods in general) rely on edges being present in the input graph, and the method would be able to predict any missing edges. I've seen one paper called edgeless-GNN which explains how to perform link prediction on edgeless 'nodes', alongside an existing graph.... |
First off, I am new to predictive modeling and I appreciate any advice.
BACKGROUND:
I am doing a binomial elastic net where n = 54 and p = 89. This model is for predicting drug effects clinically; thus, prediction by measuring as few variables as possible would be ideal.
After Elastic Net variable selection/shrinkage, ... |
Background
I am doing a project where I am comparing 5 models. It is a regression problem, where the model uses the 3D structure data of a protein and a drug molecule bound to it (specifically, the Cartesian coordinates of atoms) to predict the binding affinity of the protein-drug complex. My training data set has 3847... |
I am currently working on a dataset (count data) in which one observation corresponds to one day of monitoring at a site.
The overall protocol is to monitor groups of sites along transects. Almost all transects (and by extension almost all sites) were monitored several times. Sometimes, several transects were monitored... |
I'm not sure how else to put it, but I often use the sklearn.metrics.classification_report function in order to measure the performance of various classification models I'm using. Here, the term "support" is used to refer to the true number of samples for each label. In other words, it's the sum of true positives and f... |
I want to use the Wasserstein distance from scipy.stats.wasserstein_distance to get a measure for the difference between two probability distribution. However, I do not understand how the support matters here.
For example, I would have expected stats.wasserstein_distance([0,1,0],[1,0,0]) to be 1 (as we need to move a m... |
I want to model the relationship between time spent watching video ads and purchases. There is a correlation between viewing time and purchase. The longer the viewing time, the higher the purchase intent; and the higher the purchase intent, the longer the viewing time. How can we model such a non-DAG (feedback) relatio... |
I am identifying a latent profile model with the Mclust package in R. After identifying an optimal number of cluster I would like to identify possible covariates and distal outcomes via logistic/linear regression.
The recommended approach is to use step3 model (1) as implemented in Mplus or LatentGold. These specialise... |
I have a population that I have quantitatively profiled using two different technologies. The result is two data matrices that have the exact same set of individuals as rows, but different features (both in type and number) as columns. I want to know if the two technologies are actually characterizing anything distinct... |
I am working on a survival analysis, which will provide an input for the decision analytic model (discrete event simulation that samples time to event from a survival curve). For that, I need shape and scale parameters and corresponding standard errors for three different competing events that can happen to people. The... |
There is a known positive sequence $M_n>0$ (e.g., $M_n = \log(n)$), where $M_n\to\infty$ as $n \to \infty$. If a sequence $X_n$ is $O_p(1)$, then can I claim $\Pr(|X_n| > M_n ) \to 0$ as $n \to \infty$?
It seems to me that this is true because $\Pr(|X_n| > M_n ) = \Pr(|X_n|/ M_n > 1)$ and $X_n/M_n = O_p(1/M_n) = o_p(1... |
I'm fitting a model with MLE using scipy.minimize (method BFGS). I want to have the hessian to compute its inverse and retrieve the standard error of each parameter.
The result of minimize contains one approximation of the inverse hessian matrix in res.hess_inv. To cross-check with other methods, I computed the hessian... |
I have questions about GPT-2.
What is the context window in the pre-train gpt-2 train?
As I know language modeling is based on gpt-2 use prefix language modeling that is demonstrated in picture form T5 model below:
And the formula of gpt model indicate below :
So I would like to know what the number of K(context size... |
I am attempting to run a Mixed-Effects Logistic Regression in R, using the glmer function to predict the choice (0 = reject vs. 1 = accept) of a certain offer in an experimental task on a trial-by-trial structure. The predictors (or fixed effects) include the condition (3-level factor), the reward (numeric) and the cos... |
This is a theoritical question about decision trees. I believe that the question is very explicit in the title of the question. My thoughts on this question follow below.
If the region we are dealing with can be separated using directions that are orthogonal to the axis, then we model such region with a decision tree t... |
As I know BERT model that calculates loss by compare between an original word that was masked with the predicted result for retrieve the loss and update the weight in pre-train model.
But GPT-2 uses the technique predicting next word from the previous word that mean the model will calculate loss from original word with... |
I haven't done hypothesis testing in a long time so please bear with me. I am trying to understand if my results are statistically relevant per category and aggregated values per category and find 95% confidence interval.
I have different categories of inventory, shipped and among those inventory part of inventory is d... |
A traditional machine learning validation strategy is to train on some data and check performance on some holdout data. When data are time-dependent, an obvious way to proceed is to train on early periods and test on later periods, say train on data from $2000$ to $2011$ and then check performance in $2012$, $2013$ and... |
I currently running an agricultural field study using a 2x2x3 factorial design. I need to collect samples for measuring soil bulk density, which takes a lot of time. There are two sites, 4 replicates per treatment group, and controls added for reference, so in total there are 128 plots to collect a single sample from... |
When comparing differences in samples (e.g., difference in medians) between two groups, I am
adjusting group size to account for finite populations of the
groups,
pooling all of the samples together sampling from the pooled
data (with replacement) to create two new groups of data calculating
the medians of each group,... |
SUMMARY
How does the diagonal rescaling fit into the derivation of a multiplicative update rule for non-negative matrix factorization (NMF)?
DESCRIPTION
The NMF problem aims to find non-negative matrix factors $W$ and $H$ from a non-negative matrix $V$ such that $V \approx WH$.
Having an additive update rule
$H \leftar... |
I have data aggregated as a histogram
$$
(m_1, c_1), (m_2, c_2), \dots, (m_k, c_k)
$$
where $m_1 < m_2 < \dots < m_k$ are the midpoints of the histogram bins and $c_i$ are the counts that sum to the total number of the raw datapoints $\sum_i c_i = N$. The count $c_i$ is for the points within the $[m_i-d, m_i+d)$ range.... |
I have a simple problem, but haven't found a solution yet.
Let $Y_{i}=\sum_{a} X^{a}_{i}*\omega^{a}_{i}$, where $Y$ is something I calculate, and everything else is observed.
$\sum_{a} X^{a}_{i}=1$, as this is these are the fractions of a day's time spent in activity $a$.
$\omega^{a}_{i}\in[0,1]$, as this is the fracti... |
Any features which is represented as a list of 0 or more elements is what I call a Dynamic feature.
Let us suppose an example where there are 10 Million movies and a User feature sample looks like:
Age Gender County Movies-Liked
1. 25 M USA [Movie-1934, Movie-135, Movie-13]
2. 12 F UK [Mo... |
Does $ARMA(p,q)$ process need to be invertible and have a causal stationary solution to be written in $MA(\infty)$ representation?
And if you write the process in terms of $Z_t$ instead of $X_t$, then you get $AR(\infty)$ form right?
|
At some point in the history of statistics, there surely was a transition from thinking of statistical measures strictly as imperfect approximations of real quantities, to thinking of them as estimates of unobservable parameters of abstract population distributions. Similar transitions, from the material to the abstrac... |
I am reading this article which says that "when heterogeneity is present, a confidence interval around the random-effects summary estimate is wider than a confidence interval around a fixed-effect summary estimate."
This is with regards to a meta analysis approach where the outcome is a particular study's overall effec... |
For sample size, in r, samplesize = if replace, nrow(x) else ceiling(0.632*nrow(x))
What I know is random forest constructs a large number of trees with random bootstrap samples from the training data.
But, in r, if we have a sample size of replacement, we use all the observations. Then, it's not random. Can you please... |
Recall we have two shops that we treat like equal.
We want to increase total income, and we want to evaluate some hypothesis.
The global goal is to find feature, that maximizes total sum of payments, even if a count of sales is decreased, so we interested in total sum of separate sales in a period of time.
Suppose, the... |
I have one model, that I fit using MLE. In order to feel what could be a good initial guess for the fitting process, I try different arbitrary smartly chosen initial guess (not random) and report the final estimate for each of them, along with their associated loss (i.e., negative log-likelihood).
Now that I have this ... |
I understand that it does the opposite of NORMDIST function and returns a normal cumulative distribution. But is there a formula that it uses? Is it using the Quantile function?
|
In my dataset, working hours is weekly working hours. If the person's employed, then working hours > 0. However, I'm not quite sure how to input the data for working hours if the person is not employed. Do I input it as "NA", or 0?
In addition, I'm trying to do a logarithm transformation on the data of working hours. I... |
I am doing some work modeling spatial data with Gaussian Processes. To speed things up, I am using a compact kernel. This makes it so that, over spatial extents that are > the bandwidth of my kernel, the covariance matrix is 0, which is hopefully a very large percentage of the covariance matrix.
The usual GP setup: I... |
I am trying to perform a robust regressions using the lmrob function in R.
I am getting this error Message:
Warning message:
In lmrob.S(x, y, control = control) :
S-estimated scale == 0: Probably exact fit; check your data
Then I see that 244 of my observations are weighted with 0, the other 355 are weighted with 1... |
I was curious if they are anything in the literature about estimating or propagating uncertainties when the desired result is from the minimization of an expression. I have several books on uncertainty propagation, but they do not talk about such problems. I suspect in the statistics literature, this problem might have... |
The observational case
For observational data, Hernán & Robins (2023, p. 49) state:
In the absence of marginal randomization, [computing the average causal effect in the entire population] requires adjustment for the variables $L$ that ensure conditional exchangeability of the treated and untreated
Adjustment can the... |
I've had a stats related question I've been wondering for a while, but for which I have yet to find good sources on. I'm aware of things like the Akaike Information Criterion for weighting candidate models, but afaik this doesn't account for model autocorrelation (potentially leading to double counting if extremely sim... |
I have time series data over an 8hour period of animals displaying behaviors.
The behavior being displayed by a particular animal is notated as numbers 1-9, with a number corresponding to a given behavior. These are insects and they can only display one feeding behavior at a time.
The most common behavior for each poin... |
Since absolute error plotted on a log-log plot will result in asymmetric error bars, my understanding is that this would give a misleading view of the precision of a measurement. I can plot instead the relative error, but then the values on the y axis would be z = log10(y) +/- sigma_y/y/log(10), rather than y on a log ... |
I found the following result used in this paper, but it was just claimed without proof and it seems extremely strong to me, so I would like a proof, or at least a reference, of a proof.
Let $D$ be probability distribution. For any $k\geq 1$, there exists another distribution $D'$ such that if $Y_1, ..., Y_k \sim D'$, t... |
I was reading this paper and saw this passage:
The architecture of these detectors has evolved from the initial two-stage [9, 26, 3] to one stage [19, 31, 1, 10, 22, 13, 36, 14, 7, 33, 11], and two detection paradigms, anchor-based [19, 22, 13, 10, 33] and anchor-free [31, 7, 36, 14, 11], have emerged.
What is meant ... |
I am trying to learn more about how to apply Logistic Regression in the presence of rare events.
I am trying to understand what is written in this paper here: https://gking.harvard.edu/files/0s.pdf
If I understand correctly, in the presence of rare events, the MLE estimate for the intercept of a Logistic Regression can... |
I have a dataset like this image and I want to run a zero inflated negative binomial (ZINB) regression in Stata (Outcome: crime rate). In 3 age group variables I have the percent of population in each city (for example 20% of city "a" population is in age 0-20 group.
Is it true to include all of the 3 age group variabl... |
Suppose I'm testing a product by taking a sample of size $N$: if the (population) variance $\sigma^2$ is higher than $\sigma^2_\text{max}$, the product should be rejected. Then I can determine the sample variance $s^2$, and use
\begin{equation}
\frac{(N-1)s^2}{\sigma^2} \sim \chi^2_{N-1}
\end{equation}
to compute a $(1... |
I'm studying ML estimation and I have a silly question that I'm not able to see its solution. Suppose I have an AR(1) process:
$$y_t = c+ \phi y_{t-1}+ u_t, \quad u_t \overset{iid}{\sim}\hbox{Normal}(0,\sigma^2)$$
The first step is find the density of $y_1$:
$$y_1 = c+ \phi y_{0}+ u_1, \quad u_1 \sim \hbox{Normal} (0,\... |
Im doing a meta-analysis of randomized interventional trials to compare between two types of surgeries.
The follow up period at which outcomes were reported varied between 6 weeks to 24 months. Some studies reported their results at different follow up points, whereas others reported results at one follow up point.
I w... |
I am currently working on a project where I have a dataset of scatter-points in space. What I am doing is that I fit Gaussian Mixture Models (GMM) on the data set and use the model to sample 'artificial' data points for simulation purposes. What I would like to do now is find a metric to see how well the GMM reproduces... |
I am currently investigating the moderating role of mindfulness in the association between academic distress and suicide ideation with depression as a control variable. I finished doing the multiple regression analysis where all the IVs, control variable, and interaction term was regressed into suicide ideation in this... |
I have a classification project and I want to compare three models: Random Forest, SVM and Logistic Regression.
Random Forest are tree based algorithms wheras, SVM is a distance based model and LR is probabilistic model.
The dataset for SVM and LR needs to be standardized but it doesn't have to be for RF.
So my questio... |
I have started to learn statistics and I came accross those notations:
$c_{d-1,1-\alpha}$ $z_{1-\alpha/2}$
the first one is the $\alpha$-th order quantile of the $\chi_2$ distribution and the second one is the $\alpha$-th order quantile of the normal (gaussian) distribution. What is the explanation behind those notatio... |
Redundancy analysis proceeds by multivariate regression of a response matrix Y on explanatory matrix X. The fitted Y values are then submitted to PCA, where the two axes of greatest explanation can be used for plotting the relationship of the axes to both response and explanatory variables.
If these two axes are orthog... |
I have been using a pre whitenening technique to remove autocorrelation from my time series model which has a variable that are autocorrelating with itself over time. But I wondered how I could mathematically prove that my data is now decorrelated and if someone has any research paper that explains it or anything simil... |
I was studying parameter estimation from Sheldon Ross' probability and statistics book. Here the task of parameter estimation is described as follows:
Is this task the same of density estimation in machine learning contexts?
Mathematics for Machine Learning book describes density estimation as follows:
My question ar... |
I apologise for no doubt a basic question that I am having difficulty intuiting. I have data with a time component that is measured at irregular intervals (but the same irregular intervals for everyone). In analysing this I could consider time as categorical (which I would normally do) but I have started using splines ... |
Usually when making a time series model the training data is prepared in a format akin to:
TimeStamp
Actual
2023-01-07 00:00
80
2023-01-07 01:00
110
2023-01-07 02:00
115
2023-01-07 03:00
95
...
That is for each time stamp we have some actual values (for the outcome and any additional variables). Bu... |
I have a vector variable with 50 time periods. I believe the vector variable changes over time but also has a static component. I am looking for a model similar to an AR(1) model that can provide me with coefficients to indicate how the variable changes over time, as well as residuals to indicate volatility over time. ... |
I want to understand the difference between PCA (principal component analysis) and NMF (non-negative matrix factorization) in terms of the explained variability.
When we apply PCA into high-dimensinal data (suppose 100) then the largest PC explain the highest axis of variability, similarily second largest PC explain th... |
I have an outlier detection code snippet in R which I need to convert into python. Folloing is the code snippet-
tso(ts(monVolumes[[repli]]$vol[which(!is.na(monVolumes[[repli]]$vol))]/10^9,frequency=1), tsmethod ="arima",types = c("LS","TC","IO","AO") ,maxit.iloop = 50, maxit.oloop = 50)), error=function(e) TRUE, final... |
I have a set of a hundred people. For each person there is a table (Time, Point X, Point Y). The number of rows in each person's table is different (about 1500-2000 rows). I want to divide these people into groups, using the data in the tables. Can you tell me what clustering algorithm I can use in this case, or what d... |
I'm working on a reliability problem, and I've run into a snag. I have a population of 300 widgets. From that population, I took a random sample of 10 and 1 turned out to be bad. What I'd like to know (and plot) is what fraction of the remaining 290 should I expect to be flawed and (separately) the probability of findi... |
I have been using logistic regression to measure the association between two variables. Let us say, we want to test the association between A and B. A is the outcome and B is the exposure. The association between A and B gives me an OR = 5, and it is significant when looking at the p-value.
A ~ B
Then I want to adjus... |
I have a piece of code that I'm adding a feature onto, and I need to test performance before and after the feature addition. So I used a test instance with a large amount of data and triggered the endpoint with and without my feature (flag on and flag off) and now I have a data set with the elapsed times as follows: (T... |
I am working on multiple regression in order to realize a marketing mix model. However I have some concerns with the procedure. First, the idea of transforme data in order to incorporate the carryover effect : the intuition behind the carryover effect is clear however from what I have understood, the way to do it is un... |
I am currently trying to estimate stock levels in a monte carlo simulation, i have certain integer sample data for product A,B,C with each having a sample size of 100. When trying to do a fit to a type of distribution, what should be the data type of sample data - continuous or discrete?
Edit:
I am trying to model the ... |
This is from an exercise found here on page 60. My question is: what is meant by $\sum\limits_{i_1=1}^D\sum\limits_{i_2=1}^{i_1}...\sum\limits_{i_M=1}^{i_{M-1}}w_{i_1i_2...i_M}x_{i_1}x_{i_2}...x_{i_M}$? For instance, for $M=3$ with $D=4$ we get $$\sum\limits_{i_1=1}^4\sum\limits_{i_2=1}^{i_1}\sum\limits_{i_3=1}^{i_2}w_... |
I have successfully trained a ResNet50V2 model. I used transfer learning on ImageNet database, and launch the inference on the unseen data. I obtain a high accuracy (>80%), but when I print the probability vector for each label, I obtain strangely high values. The sum of the elements is one, sure, but it is like the CN... |
I am beginning a project that will employ regression/covariate adjustment to estimate the average effect of treatment on the treated (ATT) and I realize that I have two questions concerning how one estimates the ATT in such a setting and how one interprets the regression output when using GLMs.
First, I am slightly con... |
I have developed the following KNN code and tested it against several datasets with >90% accuracy (the wdbc dataset from UCI for one, granted it was a categorical result), however when using the same code with the pima Indians diabetes data set I get very poor results. I am trying to impute the BMI from the adjacent co... |
How can I calculate $R^2$ for multilevel longitudinal analysis without Level-1 variance in R? One predictor is a factor (Treatment: A, B, C).
|
I am trying to plot data with a large number of points. The goal is to see the basic distribution - location, dispersion, shape - of the observations.
With a simple scatterplot, even with low alpha, the result is too visually dense:
Following this answer and suggestions here, I think switching to hexbin will work well... |
Consider a model such that the log-likelihood function of a $n$-dimensional parameter $\theta$ is given by (can be approximated by)
$$\tag{1}
L(\theta)=L(\widehat \theta) -\frac12 (\theta - \widehat \theta)^{\top}I(\widehat \theta)(\theta - \widehat \theta),
$$
where $I(\theta)$ is the observed Fisher information.
The ... |
I am looking to compare efficacy of five different types of traps (b, s, v, w, y) for catching insects. Traps where set at four different locations (hh, mc, mf, sf), each subdivided into four separate plots (1, 2, 3, 4). Each plot was sampled with the all five traps for the same time.
I am thinking to go with parametri... |
I have an object detector and now I have to decide which confidence threshold to use for each class. How can I determine what is the best confidence threshold for each class? Once decided, how can I evaluate this model at the given confidence threshold?
Everybody seems to just be using variations of AP (or mAP), which ... |
According to A.F. Zuur et al. (2009) in 'Mixed Effects Models and Extensions in Ecology with R', p. 239ff and this post: When to use an offset in a Poisson regression?, offset() can be used in Ecology when samples vary in volume (or area, depth range etc.) and are thus a (better) alternative to using the density as a r... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.