I had defined pdf of distribution, generate data and specify the least square function.I am not aware of the code for finding estimators and bias of this distribution using method of least square estimation. I am trying to implement simulation. can anyone help me to do this.
f[\[Alpha]_, \[Lambda]_] :=
ProbabilityDistribution[(
4*\[Lambda]*\[Alpha]*
x^(\[Alpha] - 1)*(1 - x)*(2 - x)^(\[Alpha] -
1)*(1 - x^\[Alpha]*(2 - x)^\[Alpha])^(\[Lambda] -
1))/(1 + (1 - x^\[Alpha]*(2 - x)^\[Alpha])^\[Lambda])^2, {x, 0,
1}, Assumptions -> \[Alpha] > 0 && \[Lambda] > 0]
x = RandomVariate[f[2, 0.5], 50]
# The least square function is defined by
l = \!\(
\*UnderoverscriptBox[\(\[Sum]\), \(i = 1\), \(n\)]
\*SuperscriptBox[\((
\*FractionBox[\(1 -
\*SuperscriptBox[\((1 -
\*SuperscriptBox[\(x\), \(\[Alpha]\)]*
\*SuperscriptBox[\((2 -
x)\), \(\[Alpha]\)])\), \(\[Lambda]\)]\), \(1 +
\*SuperscriptBox[\((1 -
\*SuperscriptBox[\(x\), \(\[Alpha]\)]*
\*SuperscriptBox[\((2 - x)\), \(\[Alpha]\)])\), \(\[Lambda]\)]\)] -
\*FractionBox[\(i\), \(n + 1\)])\), \(2\)]\)`enter code here`