Skip to content

Problems nonparametric SingleIndexModel #605

Open

Description

@josef-pkt

based on PR #562

SingleIndex has only one nonparametric function

  • number of bw should be 1
  • vartype should also be just 1d, and 'c' by default or only
    (reshaping exog depends on len(vartype) which caused shape exceptions because I had
    len(vartype)=1 but the real K/k_vars was 3)
  • bw argument missing, might be useful for fixed user given bw
    would require a _est_b_bw method that only maximizes b
  • the model doesn't use the dot product x*b, uses elementwise product and does Kernel regression over all variables

in my first example the fit is awful, maybe bandwidth choice or optimization problems or something in my example

the first fix is in josef-pkt@04c80d8
results look more reasonable now; not clean, just getting it to work

Activity

  1. josef-pkt commented on Jan 7, 2013

    @josef-pkt
    MemberAuthor

    open problem is how to display results to see the fit and the nonlinear function.

    one problem in my first example was that I had inconsistent sorting of observations.

  2. josef-pkt commented on Jan 8, 2013

    @josef-pkt
    MemberAuthor

    question: what normalization for beta, b, is used?
    I haven't checked the code or literature, but there should be an indeterminacy in the scale.

    Users are not allowed to include a constant in exog, are they? same question for constant in SemiLinearModel

  3. josef-pkt commented on Jan 8, 2013

    @josef-pkt
    MemberAuthor

    updated issue description with missing bw parameter (also missing for SemiLinearModel)

  4. added
    type-bug-wrong
    on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp-nonparametrictype-bugtype-bug-wrong

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions