From software 10k (linear) is a good standard value - if mounted remotely add 0.1uF cap to ground on
the analog pin to reduce noise.
Any analog circuit and the value depends on the circuit - can't help there (sometimes log
law or reverse log law will be appropriate for instance).