instruction stringlengths 9 38.7k |
|---|
I have a dataframe with 700 rows and for each row I have dummy variables.
The dataframe looks like this
0 1 2 3
1 1 0 0 0
2 0 0 0 1
3 0 1 0 0
4 1 0 0 0
.....
This is my X.
As the target variable I have a floating number between 5.5 and 10, this is my y.
I then fit a linear regression on this data.
X2 = sm.add_consta... |
Tensorflow playground input feature $X_1$ is colored orange and blue. What is the meaning of these colors?
I think $(X_1, X_2)$ is training data point representing the coordinates of the dot to classify positive/blue or negative/orange in the OUTPUT on the right.
Then how come a scalar value $X_1$ has orange part and b... |
I'm a beginner in statistics and I'm trying to figure things to ensure that I can consider parameters the same manner in two cases :
I believe that if we have enlighten a distribution with the knowledge of its law and the values of its parameters, then we have "won". Because we can predict the values we are inclined to... |
I'm working on a project where I believe Bayesian statistics should be useful. However, my knowledge about bayesian statistics are very scarce. Suppose I got data following a Gammadistribution with a known shape-parameters of $\alpha = 11.26$ and the estimated parameters for the prior are, $a=1.08$ and $b=13.7$ (a bein... |
I am reading a paper on parameter estimation for moving-averages, but I'm not exactly sure what the I operator underlined in red stands for. There is no explanation for it anywhere in the paper. Is it the identity matrix?
|
Sorry for unclear title, but I was not sure how to put this into one sentence.
Recently, I found that there's a site (https://crimetest.ga/) which you can upload one's face picture then the model they trained will classify which type of crime you might possibly commit. They claim that they have trained the classifier m... |
Suppose that $\theta = (\theta_1,\theta_2) \in{\mathbb R}^2$ are the parameters of a model, and that I can obtain a MCMC sample from the posterior distribution of $\theta \mid {\bf x}$.
Using the MCMC sample, how can I obtain the conditional posterior distribution
$$\theta_2 \mid \theta_1, {\bf x}\,?$$
|
I'm currenly trying to do a multivariate analysis to forecast yearly energy consumption for a given building (unit GJ).
A lot of my sample data shows vertical columns when creating a scatter plot.
As my data is not ideally spacially distributed, I suspect the source of these to be that the larger part of my data comes ... |
I get real time data by the minute, and sometimes they miss the minute data.
A day has 1440 minutes, and I need to figure out a way to have data for all the 1440 minutes. If there is timestamp missing I need to fill it in with the average of the daily data. Can you help me figure this out using R, (tidyverse preferred)... |
I was wondering if there is a relation between the classical form of the likelihood when we have censored observation : i.e
Let's define $T_i = \inf(X_i,C_i)$ and $\delta_i = \mathbb{1}_{X_i \leq C_i} $. The likelihood is equal to :
$$L(θ) = \prod_{i=1}^n (f_θ(T_i)S_C(T_i))^{\delta_i}
(f_C(T_i)S_θ(T_i))^{1−\delta_i} $$... |
I'm analysing the performance of an algorithm based on neural networks and I have to tune two parameters( number of past days to consider for the turbidity and volume of water flowing) by hand. So considering we've got $X = {x_1,x_2,...,x_n}$ and ${Y=y_1,y_2,...,y_n}$ each having N parameters, doing an exhaustive searc... |
I'm looking to do an analysis on a bank's total loan portfolio balance given a set of independent variables:
real and nominal GDP growth
real and nominal income growth
unemployment rate
CPI rate
3 mth, 5 yr & 10 yr treasury yield
BBB corporate yield
mortgage rate
prime rate
DJI
house price index
commercial real estate... |
In R, the output for a lm linear regression model shows the "standard error":
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) -17.5791 6.7584 -2.601 0.0123 *
beta_1 3.9324 0.4155 9.464 1.49e-12 ***
---
If my estimtate of $\beta_1$ is $\hat{\beta_1}= (X^{T}X)^{-1}X^{... |
$\newcommand{\rv}[1]{\texttt{#1}}$The Question: The wealth in billions of dollars for $232$ billionaires is
given in $\rv{fortune}.$ Determine a transformation on the response to facilitate linear
modeling.
Note: This is a significant portion of Problem 14.7 in Linear Models with R, 2nd Ed., by Julian Faraway.
My Work ... |
I'm building a LogisticRegression() model in scikit-learn. Using train_test_split(), I've split the data into X_train/X_test and y_train/y_test.
First I create a baseline model:
baseline_mdl = LogisticRegression(solver = 'sag', C = 0.05, max_iter = 10000)
baseline_mdl.fit(X_train, np.ravel(y_train))
f1_score(y_test, ba... |
I have a hundred forest sampling areas with approximantely 10 trees each, for which I measured the diameter and mean height. The former is then grouped into three size classes (e.g. 10-20 cm, 20-30, etc).
How can I build a model for new sampling areas with similar heights to predict the abundance of trees in each class... |
I'm curious if Bootstrapped Frequentist methods are analogous to Bayesian methods with uninformative priors (I know, there's debate to whether this actually exists.)
For a simple example, suppose that Model A is Bayesian linear regression of {x,y}. And Model B is a collection models, B[i], where x[i] is the ith bootstr... |
I am conducting experiments which requires me to create a somewhat well performing model while avoiding (as much as possible) the computational expensive search over sets of hyperparameters.
My experiments involved further pretraining on a pretrained language model, using a masked language modelling objective on extra ... |
I am wondering if I am using the correct notation for a multilevel model with a cross-level interaction (i.e., a multilevel model with an interaction between level 1 and 2 covariates).
Let $Y_{tj}$ be a test score of the $jth$ student at time $t$. For simplicity, let $gender$ be the only level two (i.e., student level)... |
In the VAE framework where x is an input data (a vector) and z is a vector of continuous latent variables,
the posterior p(z|x) is intractable because p(x) is intractable, so we approximate it using an approximate posterior q(z|x).
But, what happens if we know p(x)?
e.g., if p(x) = N(mu, covariance mtx) is known, does... |
Suppose we know our data came from a linear model, and that it is well specified. Assume our evaluation criteria is L2 loss, between the predictions and truth data. Normally we would use least squares as the estimation procedure. I am wondering if there exists other methods through which we can beat least squares, in t... |
I have seen both Tweedie GLMs and Zero-Inflated (ZI) GLMs used in the field of ecology. Tweedie seems to have the benefit of not treating excess zeros separately, as is done using ZI regressions. However, ZI methods seem to be preferred in the literature.
Why would one use Tweedie GLMs instead of ZI GLMs, and vice vers... |
The technical question is: if you use time (years) as a categorical variable in a GLM to measure the effective of time (inflation) can you model the resulting coefficients to forecast into the future? Here is an example to clarify the question.
Suppose you have some insurance contracts and you are looking at severity,... |
I have followed the technique for determining the initial level, trend and seasonal components for the Holt-Winters model as detailed by Rob Hyndman on https://robjhyndman.com/hyndsight/hw-initialization/. The notation at the top of page 24 in Forecasting With Exponential Smoothing (R. Hyndman, et al - https://link.s... |
Is model selection just a specific kind of ensemble learning, where ensemble learning is loosely defined as "combining multiple models in some capacity to hopefully get an improved model"?
It would seem that model selection does indeed fit that definition. My thinking is that the model selection process considers a set... |
What is the difference (pros and cons) of using an OLS with conley standard errors and a spatial error model? Is there a recommendation for when you should use one over the other?
Thanks!
|
Assuming a feature selection process based on correlation or some other metric, is it possible to overlook input features that by themselves show no actual correlation with the target values, but that combined together are valid?
I tried different approaches at feature selection, all start by judging one feature at a t... |
I think I have seen various posts indicating that comparison of treatment effect in observation studies should employ either longitudinal mixed effect model or GEE.
Suppose each individual is given two measurements $y_1,y_2$ with $y_1$ before treatment and $y_2$ after treatment.
When one should consider $y_2=offset(y_1... |
Basically, I would like to generate a sample of truncated lognormal distribution given mean, variance, lower bound and upper bound. Note that the mean and variance here are the mean and variance of the truncated lognormal distribution NOT the $\mu$ and $\sigma$.
I tried to find the underlying $\mu$ and $\sigma$ using t... |
I have a question regarding the statistics of protein set differences in two biological samples.
I have performed quantitative proteomics analyses on both WT and KO cells (derived from the WT cells by deleting a gene), both before and after stimulation. I detect the same 100 proteins in all four experiments. I classify... |
Hopefully a simple question, just trying to solidify some understanding here.
The Central Limit Theorem holds that if you take various samples of a finite variance distribution of great enough size (i.e. >= 30), the distribution of the sample means will begin to form a normal distribution - and therefore has been state... |
Say I have a known cumulative probability distribution for the probability (absolute risk) of developing breast cancer vs. age in a group representing the general population. I also know the odds ratio, relative risk, and hazard ratio for the development of breast cancer in a population that carries a cancer susceptibi... |
What is the statistical test I should use if I want to run a paired sample Wilcoxon’s signed rank test but I have three groups to compare instead of two?
|
I want to calculate risk perception using survey responses to questions about risk to health, employment and finances. There are 10 questions in total, 3 with responses on a 5 point Likert scale, 3 with Yes/No, 3 with Yes/Maybe/No and 1 with Yes/No/I don't know. How do I normalize and calculate the risk perception vari... |
With multiple linear regression in Python/statsmodels I would like to analyze quote data from the last 10 years as a hedonic price regression. The dependent and independent variables are given in the code below.
import statsmodels.formula.api as smf
md = smf.ols('system_price ~ system_capacity + module_rating + module... |
Dependent variable: Emotional impact – measured by two ordinal variables (questions) on a Likert scale [1 (Least) to 10 (Most)] A composite mean score of the two variables was created named meanEMOTION which became the DV.
IV1: Gender (Male, Female)
IV2: Relationship type (Stranger, In a relationship)
I would like to c... |
I need help figuring out how to describe a GAM with random effects I estimated using mgcv for a journal publication.
An equivalent (reproducible) model is:
library(mgcv)
df <- as.data.frame(mtcars)
f <- as.formula(mpg ~ 1 + carb + s(hp, k = 7) + s(hp, carb, bs = "re"))
fit <- gam(formula = f, data = df)
summary(fit)
... |
I am trying to find an appropriate mathematical model/equation for this data. Physically, it is essentially linear correlations of rainfall error (y-axis) with distance (x-axis). So for very short distances, the errors are highly correlated, but this correlation drops off sharply. For large distances, the correlations ... |
I am interested in determining the covariate balance of a PS model with high-order interaction terms. How can assess this? I have explored the use of standardized differences but I am running into problems because of the interaction terms in the model.
|
Supposing that there is a binomial distribution ${\rm Bin}(m|N, \mu)$, I think usually $N$ and $\mu$ are parameters and not random variables (or events), thus the notation here ${\rm Bin}(m|N, \mu)$ seems somewhat misleading.
Here, the binomial distribution ${\rm Bin}(m|N, \mu)$ is
\begin{align*}
{\rm Bin}(m|N, \mu) = ... |
Suppose that we have dataset of special kind of cat. We are going to train a model on combination of the cat a the car! Suppose that in this model we will get a performance ( precision,recall or...) X for the cats.
Now suppose we combine the cats with a dataset of another species of cat.
The question is,do we get the s... |
Are there any convenient way to select a lot of columns in lm?
I know linear regression can be done in the following way
lm(y~x1+x2+x3+x4+...+xn)
Can I do something like deselect columns? For example, I don't want the 'x1,x2,x3,x4' in the model but I want the rest. Are there anyway similar to select(-x1,-x2,-x3,-4)?
|
I was wondering, whether a stochastic process with a covariance, that is not depending on time, imply constant variances. Since I read a textbook, where they call a process, which is second order weakly stationary also covariance stationary.
|
If I got an accuracy of 95% in the training set, and 80% accuracy in the test set, what could be the explanation for that? it sounds like a pretty basic question, but I just can't put it into words correctly.
It's supposed to be like that, I know that far. I interpret it like this:
" There is overfitting in the KNN mod... |
This may seem like a simple question, but it would be helpful to know others' opinions. I am trying to determine the effect of distance on growth. Growth is a continuous variable (i.e. 2.46cm). However, distance, while it is usually a continuous variable, mine can only take the form of either 2 or 4 (cm). As these cann... |
I segment my customers into 5 clusters on a weekly basis via k-means. So in week_n I have customer clusters C_n1..C_n5.
I would like to identify the "same" cluster over time. What are methods to do this?
I'm currently identifying clusters across time by max(same customers in 2 clusters). That is, given C_11, I look at ... |
We know that the neural network will perform like a linear regression if there is only one hidden unit. So, the NN method should perform at least as well as a linear regression method. I have built a tidymodel model using the following line of code:
Data_nnet_mod <- mlp(hidden_units = tune(), penalty = tune(), epoch... |
I know that $$precision = {\text { true positives } \over \text { predicted positives}}$$
but what about ${\text { true negative} \over \text { predicted negative}}$? what is it called?
Thanks
|
I have recently computed the test for local dependence based on X2 statistics (Chen & Thissen, 1997) in RStudio with the mirt package like this:
residuals(fit.SKIDDETdisc,
type = "LD",
df.p=TRUE
)
This is the output I am getting:
Degrees of freedom (lower triangle) and p-values:
SKID_1 SKID_2 SKID_33 SKID_59 SKI... |
I was just wondering is it possible that X and Y are uncorrelated but X can significantly predict Y?
If so, how would you explain and interpret that?
|
I have a huge citation graph of research papers and datasets. So, there is an edge among two items when one of them cites another. So far I've used Node2Vec for creating a dataset recommender system based on the graph but I don't have a clear idea on how to evaluate this system. The system takes as an input a dataset o... |
Given a stable distribution with parameters $(\alpha, \beta), \alpha>1$ is it true that its all first partial moments (i.e. the integrals of the form $\int_a^b x f(x) dx$, where $a$ and $b$ could be $\pm \infty$) exist? Intuitively the answer is yes as the expectation exists but I just want to confirm this.
Thanks,
V.
|
I have $N$ random variables of Bernoulli distribution with different success probabilities, and I'm looking for an approximation of the distribution of their sum, when $N$ is big (but finite).
If the variables were independent, I could use the Central Limit Theorem and claim that their sum has a Normal distribution.
Th... |
I have a time series $X_t \in \{0, 1\} \forall t \in \mathbb{Z}$.
How do I investigate whether the mean of this time series belongs to the same distribution over time (weak stationarity!?)? Are there any standard statistical significance tests?
|
I am following a video lecture on spline regression where this formula is presented to design a cubic spline regression.
The teacher continues to explain that one would usually prefer the usage of "natural cubic splines" which add constraints that the polynomials are linear in the boundary regions.
My question: How wo... |
I know it is a basic question, but is the only consequence not having a good evaluation of the data?
is the accuracy or precision of the model affected in any way if there is no test set? worse performance maybe?
I know that the results would be kinda meaningless cause we have no way of testing the model, the model is ... |
I have a timeseries datasets of features published from different sources. The entire dataset spans from 2010 to now. Upon several trials, I realized one of the features $x_1$ have quite a good predictive power in $y$, but the dataset of $x_1$ is not available only after the COVID time. I do not want to simply drop the... |
In a paper by Akrout et al., it is mentioned that
[Given $\mathbf{y} = \mathbf{W}\mathbf{x}$, where $\mathbf{x}\in\mathbb{R}^m$ is an
input vector, $\mathbf{W}\in\mathbb{R}^{m\times n}$ is a matrix, and $\mathbf{y}\in\mathbb{R}^n$ is the output
vector] we observe that
$$E\left[\mathbf{x}\mathbf{y}^{T}\right]=E\left[\m... |
I would like to train a neural network by minimizing a loss over samples (as usual), but doing so in a way that the maximum error is bounded.
What options do I have? Some that come to mind are:
preferential sampling
loss modification (e.g. minimize loss*loss instead of loss, which is a softening of $L_\infty$)
Are th... |
My specific context is detecting errors in automatic classification. Want to regularly manually review a subset of all events in one class, to ensure that the process putting them in that class is highly reliable. I’m wondering how few events I can sample and still get a solid estimate of reliability at the population ... |
If we were to consider the classes of:
linear regression
polynomial regression
logistic regression
softmax regresson
mlp
conv net
recurrent net
residual net...
Does there exist categorization of these classes based on
set inclusion
or
ordering?
For example, linear regression models are subsets of MLPs. There exist ... |
In https://arxiv.org/pdf/1908.05355.pdf, it mentioned double descent that training loss is decreasing, increasing and then decreasing again. And the important point in double descent curve is when the number of parameters is equal to the number of samples.
When training a neural network, how can we know which stage (f... |
I have economic and health indicators for a city. I want to find spatial correlation between say mental health scores of the people with their average income. If I use Moran's I, then I can only see one indicator's spatial correlation i.e. the Mental health scores or, the average income scores are not random, there is ... |
Say there is a classification setting so that $$ { \{(x_1,y_1),(x_2,y_2), ..., (x_n,y_n)\} } $$ is a set of $n$ observations, and then there is a set of $m$ estimators (models) that take an individual $ x $ and make predictions about $y$, so that, for the first pair of observations $ (x_1,y_1)$, there are $m$ predictio... |
I went into a paper, Online EM Algorithm for Latent Data Models (Olivier Cappé & Eric Moulines, 2009). I got confused by the first equation the authors wrote, the Q function:
Here the authors denoted $X$ to be the latent variable, and $Y$ to be the observed variable. My question is:
Shouldn't $f(X_i; \theta)$ be $f(X_... |
I am working on a problem that is similar to the one discussed in this link. But in my case $X_i \sim \mathcal{N}(1, \sigma^2)$, i.e., $X_i$ is not a zero-mean Gaussian RV. Specifically, I want to find the distribution of $Z = \frac{\left(\sum_{i=1}^L X_i\right)^2} {L \sum_{i=1}^L X_i^2}$, where $L$ in my case is 11. I... |
I am studying conformal prediction where they mention that the data points in the calibration data should be i.i.d.
Here's what it reads -
we reserve a moderate number
(e.g., 500) of fresh i.i.d. pairs of images and classes unseen during training, (X1, Y1), . . . ,(Xn, Yn), for use as
calibration data.
I am unable to... |
Several articles says that MAE is robust to outliers but MSE is not and MSE can hamper the model if errors are too huge. My question is that MSE and MAE both are error matrices, our priority is to just minimise the error whether we use MSE or MAE. Where does outliers come into play while using error matrices?
What diff... |
I asked this question on mathematics stack exchange, and reposting here as it did not get resolved.
Suppose the sample sizes and number of successes are ($n_1, y_1$) and ($n_2, y_2$), for the two samples, respectively.
Let the true proportions of successes be $p_1, p_2$.
Null hypothesis $H_0$: $p_1-p_2 = 0$
Alternativ... |
I am reading the research paper [A New Bayesian Lasso], where $u$ has the distribution
The expectation of $u_j$ is given by
$$\frac{1}{\lambda}+|\beta_j|$$.
I know that the term $\frac{1}{\lambda}$ is the expectation of the exponential distribution but where did the term $|\beta_j|$ come from?
I have tried to calculat... |
My data consists of score values in the range of -400 to 400.
I am thinking of log-transforming them, but is it statistically wise for me to make 400 as a constant?
log(x + 400)
If I have values between 0 and 400.
I know I can do log ( x + 1 ) to log-transform them successfully if I have zeroes in the dataset. Would t... |
I am working on a multiclassification problem using time series data. Three datasets are utilized in this study. My deep neural network performs satisfactorily across two different data sets. However, on one dataset, the validation performance is highly problematic; the model progresses in the initial few epochs and th... |
Let's say I have a corpus of news articles, for which I want to classify into various topics (e.g. "Entertainment", "Tech", "Science") and obtain the most predictive words under each topic.
The most straightforward way to do this is to TF-IDF the words, and use a Naive Bayes model to do the classification, and thereaft... |
I'm stuck at an exercise question.
A bag of crisps has a weight that follows $X \sim N(m=150\ \rm g, \sigma=20\ \rm g)$
we are taking samples of 15 bags of crisps
whose have for mean weight $\overline{X} \sim N(m=150\ \rm g, \sigma=5.164\ \rm g)$
The question I am asked by a book is:
What's the probability that a bag o... |
I am looking for some reassurance that I understand the sliding windows approach to time series modelling / training correctly.
From what I gather, when training a model, the dataset is divided into overlapping training sets of size k that are tested on test sets comprised of the next m observations proceeding each tra... |
I have a dataset that contains information on what an individual likes! The question is posed do you get energy from ..... (my X). These X variables are categories. One of these categories is whether someone gets energy from and enjoys playing sport. It is true if someone answered yes and false if they answered no.
The... |
This table describes the positive corona tests in all three open ports of country X, in two different days, plus for the total positive for all people entering the country via those three ports:
Day 2 Day 1 Port
1.7% 1.4% A
0.7% 0.4% B
0.9% 0.2% C
-------------------------
1... |
I am using a glmm to find the effect of lockdown (Yes or No), sex (Male or Female), age (Young, Teenager, Adult) and site (A or B) on hormone concentrations (Continuous). Using lrtest, I have compared different nested models with each other to determine the significance of the different explanatory variables. However, ... |
My dataset is composed of time series (40 points) with multiple variables
A B C D ... Target
Release Date
2022-06-01 0.008 15490 69600 16950 ... 1.044659
2022-05-01 0.007 14500 78920 19874 ... 1.035... |
Im running a few poisson GLMs looking at count data of bats sightings in relation to lunar cycle.
We specifically want to look at how species are affected leading up to and away from new moon/full moons.
I am able to get lunar cycle in both radians as well as categorical variables using the lunar package, however I am ... |
I am attempting to parallelize a program that executes hundreds of calls to Mallet's getSampledDistribution method, which is essentially an execution of Gibbs sampling over a topic distribution which has been previously built using LDA, each of which executes a thousand iterations. The way this is implemented in Mallet... |
Suppose I have many widgets, and a widget can be good or bad. I can test widgets in batches. The batch is good if all widgets in the batch are good, and it is bad if any widget in the batch is bad. A widget can be tested multiple times, as part of different batches.
For every widget, I have a probability that that part... |
This might seem (and be) a really trivial question!
I have this table:
id until_2000 after_2000
1 1 1 1
2 2 1 2
3 3 2 1
Now I want to compare the relative change between the columns after_2000 and until_2000. Just dividing the after_2000 values by the until_2000... |
I'm looking to predict the probability of a team winning a game in basketball so that I can create something close to this:
If you can't see the picture, it's a graph with time remaining on the x-axis and the probability of winning on the y-axis.
I've tried looking at similar projects online but all of them either do ... |
I am trying to write out the mathematical formula for a GAM which i have but mathematical equations are not my strong suit. Would anyone be able to tell me if the following equation if current for the model which i have fitted in r? I think its partly correct but don't like the look of some bits (the xi's for example)
... |
The following is a purely hypothetical scenario. It is not based on any study I am conducting or plan to conduct, it is only me trying to understand what kind of statistical test I would need to run on a hypothetical dataset. Let's say I collected a dataset which uses weight as an independent variable. I have 5 weight ... |
I got a little rusty with statistics.
My problem:
There are three labels: good, bad, ugly
For each instance there is a definite label, e.g Clint Eastwood is good, Eli Wallach is ugly.
When asking a random person on the street to identify the actors with labels, the chances for a proper identification is 70%.
E.g when a... |
For example, say someone wants to build a classifier that predicts if customers will come again to make another purchase in his store, anytime during the coming month.
The data contains 400 observations (400 customers), with features of Age and whether the customer did or did not come back to buy again (anytime during ... |
I am trying to calculate the weighted covariance matrix for a finite mixture of multivariate normal distributions. I read this post here and this one here, but the first post is focused on uniformly weighted mixtures of gaussians while the second is looking only at the variances of a weighted combination of 2 gaussians... |
This is a question about backdoor criterion (as per J. Pearl) on finding causal effects. It is linked to a specific exercise in a specific book, but I hope it will be sufficiently generic and self-contained to be of general use.
Problem statement
I am self-studying Pearl, Glymour, Jewell Causal Inference in Statistics,... |
I am currently performing an analysis in a domain that, in current literature, is predominantly populated by likelihood-based linear models (MLR, Poisson Regression, etc.).
My intent is to implement tree-based regressors (gradient boosting/random forest) for similar tasks and report the predictive performance. I've don... |
I am applying a Poisson regression with robust standard errors to model a binary response variables. I was wondering what are the assumptions underlying this type of regression?
I understand that the response values have to be independent, and the conditional distribution of the response need not be Poisson (of course,... |
I have a mixed model which the heteroskedasticity and normality assumptions for the residuals are violated. Up to this point, I have been addressing that by using the robustlmm package in R. My dependent variable is a contrast which can vary around 0; I can't log transform it. (Even before it becomes a contrast it can... |
The data is images which resize to 256*256.
And for per 8x8 area, we remove 4 pixels from the 8x8 block.
Then iter this process to whole image.
So the task is how to use per block pixels value(60 pixels value) to predict removed 4 pixels value.
Use deep learning, especially CNN.
Please give me some advice.
|
Given a iid random samples $X\sim N(\theta,1)$, we have a unknown parameter $\theta$ and its estimator $T_n=T_n(X_1,\dots,X_n)$. If we have strictly proved that $T_n$ is a consistent estimator, can we verify the conclusion from the simulation results?
If I do the Monte Carlo simulation, show that as the sample size $n... |
Is the estimation of the residual covariance matrix under multivariate least squares the same as under maximum likelihood in a vector autoregression framework if we assume Gaussian white noise for the error term?
|
I am doing some fitting in python, that is:
fun = np.array([1.48706e-05, 1.63946e-05, 1.61683e-05, 1.33775e-05])
var = np.array([15.368, 15.504, 15.64 , 15.776])
x = np.linspace (var[0], var[-1], 100)
(a, b, c), cov = np.polyfit(var, fun, 2, cov = True)
a,b,c
(-5.832071799333984e-05, 0.001812880441184612, -0.01407159... |
I noticed some discrepancies between the expected output and actual output for binomial glm in R using customized weighted effect contrast coding.
The purpose of weighted effect coding is to use the overall sample mean as the reference group. All data is taken from the source package wec as shown below.
library(wec)
li... |
I am modelling some behavioural data in R to determine the best parameters for explaining foraging success of marine animals. I have both fine scale parameters relating to the direct individual (e.g. dive depth, trip length) and broad-scale parameters (e.g. temperature, wind, chlorophyll a).
To avoid overfitting, I cur... |
I'm not sure if this is the best place for this question, but when averaging data, how do you know if the geometric or arithmetic mean is more appropriate for taking the average? Do you need to know something a priori about the data set to decide? For my particular problem, I am sampling the data in a log space and wis... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.